Nginx版本隐藏
Syntax: | server_tokens on | off | build | string; |
---|---|
Default: |
server_tokens on; |
Context: | http , server , location |
PHP版本隐藏
; Decides whether PHP may expose the fact that it is installed on the server
; (e.g. by adding its signature to the Web server header). It is no security
; threat in any way, but it makes it possible to determine whether you use PHP
; on your server or not.
; http://php.net/expose-php
expose_php = Off