fix: Try to set a dynamic upstream proxyhost
All checks were successful
Build Docker / Build Docker (push) Successful in 1m4s
All checks were successful
Build Docker / Build Docker (push) Successful in 1m4s
This commit is contained in:
parent
7e709dd982
commit
6e7bff2d18
@ -21,10 +21,8 @@ server {
|
|||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Set the upstream based on the host header
|
|
||||||
proxy_set_header Host $upstream;
|
|
||||||
|
|
||||||
proxy_pass https://loadbalancer;
|
proxy_pass https://$upstream;
|
||||||
proxy_ssl_verify off;
|
proxy_ssl_verify off;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
Reference in New Issue
Block a user