diff --git a/conf/nginx.conf b/conf/nginx.conf index 0bea8155..cc966b89 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location YNH_WWW_PATH { +location YNH_WWW_PATH / { # Path to source alias YNH_WWW_ALIAS/ ; @@ -18,6 +18,7 @@ location YNH_WWW_PATH { include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; + fastcgi_param SCRIPT_FILENAME $request_filename; } # .htaccess file from Hubzilla converted using http://winginx.com/en/htaccess