proper redirect, maybe

This commit is contained in:
Timo 2021-04-26 21:23:08 +03:00
parent 6c81ac3bfb
commit c056a63e8a

View File

@ -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/ {