diff --git a/conf/nginx.conf b/conf/nginx.conf index fc7952b..8c9099c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,14 +5,7 @@ location ^~ __PATH__/ { # Path to source alias __FINALPATH__/public/ ; - location __PATH__/ { - try_files $uri $uri/ =404; - } - - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } + try_files $uri $uri/ =404; if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q= last;