Thanks for the hint! I haven't worked with domain names in proxy_pass before and was sure that they're resolved dynamically. I changed the config to:
set $upstream_var example.com; proxy_pass https://$upstream_var; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291252,291286#msg-291286 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx