From 3e2c2a17147e36b0749810bb00d4794735561296 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 20 Nov 2021 15:31:06 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 5 ----- scripts/install | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f1da700..5714403 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,11 +4,6 @@ location ^~ __PATH__/ { # Path to source alias __FINALPATH__/; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - more_set_headers "Referrer-Policy: origin always"; more_set_headers "X-Content-Type-Options: nosniff"; more_set_headers "X-XSS-Protection: 1; mode=block"; diff --git a/scripts/install b/scripts/install index 6650191..329a2c9 100755 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_add_nginx_config ynh_script_progression --message="Configuring PHP-FPM..." --weight=3 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=lows +ynh_add_fpm_config --usage=low --footprint=low phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #=================================================