How to hide the server version?

Jay Reitz jreitz at
Mon May 12 22:00:30 MSD 2008

server_tokens off;


I believe this setting was added in version 0.5.34.


On Mon, May 12, 2008 at 10:47 AM, Thomas Seifert <thomas-lists at>

> Hi Guys,
> is there any directive to hide the exact server version in the header and
> error pages?
> I don't mind showing that I'm running nginx but I don't want to give out
> the exact version it is.
> It could give attackers additional information if the update is lacking a
> version or something like that.
> I know, security by obscurity isn't working well but at least its a
> stumbling block.
> Regards,
> thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list