Syntax: | server_tokens
|
---|---|
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.
Please login to continue.