From 4e00d6219c9519cb0509ae23372e4572be3d2786 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 18 Apr 2019 05:09:25 +0200 Subject: [PATCH] comments --- conf/nginx.conf | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index aed2a50..85a120a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,7 +3,7 @@ location __PATH__ { # Path to source alias __FINALPATH__/ ; - + # Force usage of https if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } @@ -18,19 +18,12 @@ location __PATH__ { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; - # Filename to be changed if dedicated php-fpm process is required - # This is to be used INSTEAD of line above - # Don't forget to adjust scripts install/upgrade/remove/backup accordingly - # - #fastcgi_pass unix:/var/run/php5-fpm-YNH_WWW_APP.sock; - fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; - } - + } # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;