nginx 定义:响应头和请求头
1) 响应头 add_header 例如: 要小心Nginx的add_header指令详解: 当当前层级中没有add_header指令才会继承父级设置。所以我的疑问就清晰了:location中有add_header,nginx.conf中的配置被丢弃了。 例如你 ...
1) 响应头 add_header 例如: 要小心Nginx的add_header指令详解: 当当前层级中没有add_header指令才会继承父级设置。所以我的疑问就清晰了:location中有add_header,nginx.conf中的配置被丢弃了。 例如你 ...
参考: http://segmentfault.com/blog/p_chou/1190000000437323?utm_source=tuicool http://www.netingcn.co ...