From 47598ffd1cb8f2f8304078dcc138ecdea628a102 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 21 Nov 2021 21:30:21 +0100 Subject: [PATCH] Remove http->https redirect in nginx conf, now handled by yunohost core --- conf/nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f443e57..fe4b9f3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,10 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - # Force https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } proxy_pass http://127.0.0.1:__PORT__/; proxy_set_header Host $host;