[root@dfsdt bin]# curl --head wx.artuion.com
HTTP/1.1 200 OK
Server: nginx/1.4.2
Date: Sun, 06 Oct 2013 02:54:21 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.4.17
Set-Cookie: auth=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT
Set-Cookie: PHPSESSID=hnuifml4raa7363v61p3l198o7; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
这样一下子就给人家看到你的服务器nginx版本是nginx/1.4.2

可以不显示不?
当然可以
第一步:
#vim nginx.conf
在http 加上 server_tokens off;
http {
......省略配置
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
tcp_nodelay on;
server_tokens off;
.......省略配置
}
第二步:
vi /usr/local
inx/conf/fastcgi_params
将里面的
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
修改为:
fastcgi_param SERVER_SOFTWARE nginx;
第三步:
重新加载nginx的配置文件
[root@dfsdt bin]# service nginx reload
[root@dfsdt bin]# curl --head wx.artuion.com
看看是不是没有了?哈哈哈。。。