From a65d92f04e29f4cf278929649ec8bb265bf5aa9c Mon Sep 17 00:00:00 2001 From: marudor Date: Sun, 11 Feb 2018 19:21:40 +0100 Subject: correctly config nginx --- nginx.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 47f5ea6a..0cf97c11 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; -- cgit v1.2.3-54-g00ecf