diff --git a/nginx.conf b/nginx.conf index 60d7898..3b1010f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;