添加 Nginx/nginx代理请求头名称中下划线处理.md

This commit is contained in:
iProbe 2024-01-15 17:31:04 +08:00
parent 244d30d8a2
commit 7da0df6fad

View file

@ -0,0 +1,10 @@
nginx默认header名称带有下划线(_)的会被忽略。需要开启允许有下划线。
```shell
# http配置块
http {
...
underscores_in_headers on;
...
}
```