nginx server version

June 5, 2012

It is a good idea, for security reasons, if your webserver does not report its version number in http headers and error messages.

To turn off reporting of nginx's server version, set the following in the http section of your nginx config.

server_tokens   off;

Tags: nginx security