添加 Nginx/nginx代理请求头名称中下划线处理.md
This commit is contained in:
parent
244d30d8a2
commit
7da0df6fad
1 changed files with 10 additions and 0 deletions
10
Nginx/nginx代理请求头名称中下划线处理.md
Normal file
10
Nginx/nginx代理请求头名称中下划线处理.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
nginx默认header名称带有下划线(_)的会被忽略。需要开启允许有下划线。
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# http配置块
|
||||||
|
http {
|
||||||
|
...
|
||||||
|
underscores_in_headers on;
|
||||||
|
...
|
||||||
|
}
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue