From f1a46ce4bcb6bb82b94db6802934565899c78635 Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 10 Dec 2019 11:21:13 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c42e7ea..74de3aa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,6 @@ root __FINALPATH__/; index index.php; +try_files $uri $uri/ /index.php?$args; location ~ \.php$ { try_files $uri =404; @@ -8,4 +9,4 @@ location ~ \.php$ { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; -} \ No newline at end of file +}