diff --git a/conf/nginx.conf b/conf/nginx.conf index 586c8d6..0f0e75e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,13 +1,13 @@ location __PATH__ { # Path to source - root __FINALPATH__/www ; + root __FINALPATH__/www/ ; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - location / { +location / { try_files $uri $uri/ index.php /_route.php; index index.php /_route.php; } @@ -15,7 +15,7 @@ location __PATH__ { location ~ \.php { try_files $uri $uri/ /_route.php; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; - include fastcgi_params; + include fastcgi.conf; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename;