配置内容: server_tokens off;
2.1、打开conf/nginx.conf配置文件;
2.2、在http下配置proxy_hide_header项;
增加或修改为
proxy_hide_header X-Powered-By;
proxy_hide_header Server;