From 92ffd39f820bb751ad81701890a4191cb6d08fe7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 19 Nov 2021 21:57:47 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 37de41d..549b52a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,12 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - -### Example PHP configuration (remove it if not used) index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file @@ -26,7 +20,6 @@ location __PATH__/ { fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; } -### End of PHP configuration part # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;