Hi all,<br><br>  Although the documentation (<a href="http://wiki.nginx.org/HttpProxyModule#proxy_set_header">http://wiki.nginx.org/HttpProxyModule#proxy_set_header</a>) says the context of proxy_set_header  can be http, server, location,we found that proxy_set_header directive at http level does not work. When moved to server level, everything works fine.<br>
<br>  Setting proxy_set_header at http level allows us to centralize some common settings thus avoid manually copy those directives to each virtual host when it was created. e.g., we use X-Http-Scheme header to let backend server know if it&#39;s a https request, otherwise they can&#39;t know.<br>