Nginx过滤带下划线的header引起403错误
概括来说,Nginx会把带下划线的header认为无效,会过滤掉,如果不想被过滤掉,在http设置里加上这行underscores_in_headers on;代码如下:user nginx;
worker_processes 1;
http {
underscores_in_headers on;
参考链接: https://www.cnblogs.com/qq78292959/archive/2012/04/10/2440390.html
页:
[1]