Completely hiding nginx server response header

Posted by hustlerinc on Server Fault See other posts from Server Fault or by hustlerinc
Published on 2013-10-31T13:29:44Z Indexed on 2013/10/31 15:59 UTC
Read the original article Hit count: 234

Filed under:

I'm having trouble hiding my server header (nginx 1.2.1).

I've google'd it and it seems all I have to do is to set server_tokens off; in nginx.conf. But doing this only removed the version number, but it still shows nginx as the server.

I've seen there's a module called HttpHeadersMoreModule but I don't need all those fancy options. All I want is to hide the header.

How can I manually hide the header completely?

© Server Fault or respective owner

Related posts about nginx