Moved proxy_set_header outside of location