summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarudor <marudor@marudor.de>2018-02-11 19:21:40 +0100
committermsquare <msquare@notrademark.de>2018-08-19 16:44:33 +0200
commita65d92f04e29f4cf278929649ec8bb265bf5aa9c (patch)
treec2ea3bd192121234866c05863a6411c3156681dc
parent85bf3ee580e80c495c9cd0819cddd03ef16047ed (diff)
correctly config nginx
-rw-r--r--nginx.conf5
1 files changed, 1 insertions, 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;