fix: Try to set a dynamic upstream proxyhost
All checks were successful
Build Docker / Build Docker (push) Successful in 1m4s

This commit is contained in:
Nathan Woodburn 2023-12-15 15:00:15 +11:00
parent 7e709dd982
commit 6e7bff2d18
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -21,10 +21,8 @@ server {
server_name _;
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_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;