better host upstream support

This commit is contained in:
Jamie Curnow
2023-01-09 13:18:11 +10:00
parent 0a50672ab6
commit ca4d92d793
6 changed files with 30 additions and 7 deletions

View File

@ -215,8 +215,6 @@ server {
# default location:
location / {
proxy_http_version 1.1;
{{#if Host.AccessListID}}
# Authorization
auth_basic ""Authorization required"";
@ -248,6 +246,7 @@ server {
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_http_version 1.1;
{{#if Upstream.ID}}
# upstream