diff --git a/conf/nginx.conf b/conf/nginx.conf index 080dd5d..1033459 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ location / { # Path to source - alias __FINALPATH__/public/; + root __FINALPATH__/public/; index index.php; @@ -14,7 +14,7 @@ location / { error_page 404 /index.php; - try_files $uri $uri/ /index.php; + try_files $uri $uri/ /index.php?$query_string; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;