server_tokens

Syntax: server_tokens on | off | string;
Default: server_tokens on;
Context: http, server, location

Enables or disables emitting nginx version in error messages and in the “Server” response header field.

Additionally, as part of our commercial subscription, starting from version 1.9.13 the signature in error messages and the “Server” response header field value can be set explicitly using the string with variables. An empty string disables the emission of the “Server” field.

doc_nginx
2017-02-09 07:09:12
Comments
Leave a Comment

Please login to continue.