diff --git a/nik4nao.home.arpa.conf b/nik4nao.home.arpa.conf index dbf2a9e..5174f18 100644 --- a/nik4nao.home.arpa.conf +++ b/nik4nao.home.arpa.conf @@ -88,13 +88,17 @@ server { location = /qbt { return 302 /qbt/; } location ^~ /qbt/ { - proxy_pass http://qbt_upstream; + proxy_pass http://qbt_upstream/; + include snippets/proxy-common.conf; - proxy_set_header X-Forwarded-Host $host; - proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Prefix /qbt; - proxy_redirect off; + proxy_cookie_path / /qbt/; + + proxy_redirect / /qbt/; } }