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