Are the configs (proxy_set_header) the same for both instances ?
Are you loading a proxy.conf file after setting them manually ?
Are you loading a proxy.conf file after setting them manually ?