非常に悪質なハックですが、こちらで、nginxでproxy_hide_headerを追加し、その後に独自のadd_headerを追加することで解決できます。
proxy_hide_header
add_header