Change server name

Hi all!
I need to know how I can change the server name in the tags.
Server nginx/0.8.53

Thanks
Jorge

Posted at Nginx Forum:

I’m sorry the image is:

Posted at Nginx Forum:

Hello!

On Tue, Jan 18, 2011 at 04:20:13PM -0500, jacppe wrote:

I need to know how I can change the server name in the tags.
Server nginx/0.8.53

You can’t, at least not without 3rd party patches/modules. If you
really want to - you may omit version via server_tokens directive,
see here:

http://wiki.nginx.org/NginxHttpCoreModule#server_tokens

Maxim D.

On 18 Jan 2011 21h21 WET, [email protected] wrote:

I’m sorry the image is:

You can go three routes:

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

  2. Use the config option:
    Module ngx_http_core_module
    and remove the version number.

  3. Use the 3rd party module:
    Headers More | NGINX
    and set the Server header as you please.

— appa

Thanks for your answer.

Posted at Nginx Forum: