标签:logs 情况 pre clu header 技术 type http stream
http { include mime.types; default_type application/octet-stream; server_tokens off; #隐藏软件版本信息 ...
server_token 作用是控制 http response header 内的 web 服务版本信息的显示,以及错误信息中 Web 服务版本信息的显示。
默认情况下,该参数为 server_token on;
[root@localhost sbin]# ./nginx -t nginx: the configuration file /opt/nginx/conf/nginx.conf syntax is ok nginx: configuration file /opt/nginx/conf/nginx.conf test is successful [root@localhost sbin]# ./nginx -s reload
标签:logs 情况 pre clu header 技术 type http stream
原文地址:http://www.cnblogs.com/reycg-blog/p/7867840.html