From 9a9f7cf8437d7b607e5ca9010da5407da09bc199 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 8 Apr 2020 14:00:43 +0200 Subject: [PATCH] try change nginx.conf and how to add a line on config.local.php --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;