From 36555b14caba6e9ead9ba14d3eab2cb1f3c89a37 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 16 Nov 2021 22:30:43 +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 02a7d09..c668a7a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,11 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - proxy_pass http://127.0.0.1:__PORT__; proxy_redirect off; proxy_set_header Host $host;