Nginx后端服务指定的Header隐藏状态

隐藏Nginx后端服务指定Header的状态:
1、打开conf/nginx.conf配置文件;
2、在http下配置proxy_hide_header项; 增加或修改为 proxy_hide_header X-Powered-By; proxy_hide_header Server;

猜你喜欢

转载自blog.csdn.net/bjgaocp/article/details/112360792