Nginx always overwrites the Server-Header

When I was configuring the nodejs server behind nginx, I experienced the issue that nginx always overwrote the Server header response.

This is a bit annoying, since I want to know what version of spludo runs on my site.

The solution is not to set

server_tokens off

since that would only disable the version number.

The solution is:

proxy_pass_header Server;

In nginx, node.js, spludo by @ 19 Jun 2011

comments powered by Disqus

Recent Files


Recent Dev-Articles

Read recently