From f57f856d08ae4703bed2c328396407e944c01b43 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 5 Dec 2021 14:36:54 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9eff7cb..312a59d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -34,9 +34,4 @@ location __PATH__/ { #proxy_cache_use_stale timeout; #proxy_cache_lock on; proxy_pass http://127.0.0.1:__PORT__; - - # Yunohost addition: redirect HTTP to HTTPS - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } }