Change server name

António P. P. Almeida appa at perusio.net
Wed Jan 19 00:36:48 MSK 2011


On 18 Jan 2011 21h21 WET, nginx-forum at nginx.us wrote:

> I'm sorry the image is:
>
> [URL=http://img94.imageshack.us/i/servernameb.png/][IMG]http://img94.imageshack.us/img94/4166/servernameb.th.png[/IMG][/URL]

You can go three routes:

1. Patch the Nginx source and change the server token as you please.

2. Use the config option:
   http://wiki.nginx.org/NginxHttpCoreModule#server_tokens
   and remove the version number.

3. Use the 3rd party module:
   http://wiki.nginx.org/HttpHeadersMoreModule#more_set_headers
   and set the Server header as you please.

--- appa




More information about the nginx mailing list