From c056a63e8a885f8afd53977729f99ae1ce7f6399 Mon Sep 17 00:00:00 2001 From: Timo Date: Mon, 26 Apr 2021 21:23:08 +0300 Subject: [PATCH] proper redirect, maybe --- docker/common/nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/common/nginx/nginx.conf b/docker/common/nginx/nginx.conf index cb2fb4027..a70e5bc06 100644 --- a/docker/common/nginx/nginx.conf +++ b/docker/common/nginx/nginx.conf @@ -2,7 +2,7 @@ server { listen 8080; proxy_hide_header WWW-Authenticate; - + port_in_redirect off; # SSL stuff for cloudflare proxy-ing - ignores SSL certificate and uses SNI proxy_ssl_verify off; @@ -10,7 +10,7 @@ server { proxy_ssl_server_name on; location / { - return 302 $uri/ui/; + return 302 http://$http_host/ui/; } location /ui/ {