diff options
-rw-r--r-- | nginx.conf | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -21,13 +21,10 @@ http { root /var/www/html; location / { - try_files $uri $uri/index.php; + try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { - if (!-e $request_filename){ - rewrite ^(.*)$ /index.php break; - } fastcgi_pass engelsystem:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |