From daf116106763b3eb77c913074ad337586234b157 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 27 Mar 2022 03:44:08 +0200 Subject: [PATCH] remove https force --- conf/nginx.conf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5f21422..ceff601 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,11 +1,6 @@ rewrite ^$ /; location ~ ^(/api|/login|/styles|/static|/manifest.json|/$) { -# Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - proxy_pass http://127.0.0.1:__CONSOLE_PORT__; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -23,11 +18,6 @@ location ~ ^(/api|/login|/styles|/static|/manifest.json|/$) { } location ~ / { - -# Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } proxy_pass http://127.0.0.1:__PORT__; proxy_http_version 1.1;