diff --git a/conf/nginx.conf b/conf/nginx.conf index 494538f..175966b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,9 +3,6 @@ location PATHTOCHANGE { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - if ($request_uri !~ index.php/$) { - rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent; - } index index.php; try_files $uri $uri/ /index.php?$args; location ~ [^/]\.php(/|$) {