From c492d7b9ee890ccf7fe57e5c3d38861e93d33e89 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 25 May 2021 09:42:44 +0200 Subject: [PATCH] Fix NGINX conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 48948a8..c0d5de0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,10 +1,10 @@ -location ^~ __PATH__/ { +location ^~ __PATH__ { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass http://localhost:__PORT____PATH__/; + proxy_pass http://localhost:__PORT____PATH__; proxy_set_header Host $host; proxy_redirect http:// https://; proxy_http_version 1.1;