nginx 配置参数详解

1、port_in_redirect off;

这个参数就是告诉nginx,遇到302跳转的时候,不要加上自己的端口号。

2、server_tokens   off;

此参数设置nginx 返回的header 里边是否显示 nginx 服务器信息及nginx 版本

原文地址:https://www.cnblogs.com/handongyu/p/7272822.html