aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_init.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-03-15 13:36:19 +0300
committerRuslan Ermilov <ru@nginx.com>2016-03-15 13:36:19 +0300
commit86927c65885157e0e9040a4a50da80d62a3aa29e (patch)
tree8cbbbd357c57e3917aba4ed6da7a18287d606334 /src/os/unix/ngx_posix_init.c
parentb3c1abdcd8dd91ca1298c47b5abd567b9bcb3cf2 (diff)
downloadnginx-86927c65885157e0e9040a4a50da80d62a3aa29e.tar.gz
nginx-86927c65885157e0e9040a4a50da80d62a3aa29e.zip
Added variables support to server_tokens.
It can now be set to "off" conditionally, e.g. using the map directive. An empty value will disable the emission of the Server: header and the signature in error messages generated by nginx. Any other value is treated as "on", meaning that full nginx version is emitted in the Server: header and error messages generated by nginx.
Diffstat (limited to 'src/os/unix/ngx_posix_init.c')
0 files changed, 0 insertions, 0 deletions