From 3e320da1dafb07cf16e795a5c1a868e29b5f1cd6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 11 Jan 2023 09:48:55 +0100 Subject: [PATCH] Remove http->https redirection now handled in the core --- conf/nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3093431..300ff4c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,10 +10,6 @@ location __PATH__/ { client_max_body_size 10G; - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; }