If you are using nginx to proxy a back-end application and want the back-end to advertise its own Server:
header without nginx overwriting it, then you can go inside of your server {…}
stanza and set:
proxy_pass_header Server;
That will convince nginx to leave that header alone and not rewrite the value set by the back-end.