diff --git a/conf/nginx.conf b/conf/nginx.conf index 9922f5f..9368874 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,9 +8,9 @@ if ($scheme = http) { } index index.php; +try_files $uri $uri/ index.php; location ~ \.php { - try_files $uri $uri/ index.php; fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; fastcgi_index index.php;