diff --git a/conf/nginx.conf b/conf/nginx.conf index 36722c7..483a9a9 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,13 +2,13 @@ location __PATH__/ { # Path to source - alias __FINALPATH__/public/ ; + root __FINALPATH__/public/ ; index index.php; client_max_body_size 50M; - - try_files $uri $uri/ index.php; + + try_files $uri $uri/ /index.php?$query_string; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;