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 +}