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; - } }