mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-18 18:40:21 +00:00
better host upstream support
This commit is contained in:
1 parent
0a50672ab6
commit
ca4d92d793
6 files changed
+30
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user