diff --git a/conf/nginx.conf b/conf/nginx.conf index b82ee71..d039f97 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,12 +2,6 @@ location __PATHTOCHANGE__ { alias __FINALPATH__/; index index.php; - if (!-e $request_filename) - { - rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last; - rewrite ^/.*$ __PATHTOCHANGE__/index.php last; - } - if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; }