0
点赞
收藏
分享

微信扫一扫

nginx配置underscores_in_headers on | off;

蒸熟的土豆 2023-05-24 阅读 42


Syntax:underscores_in_headers on | off;
Default:underscores_in_headers off;
Context:http,server

Enables or disables the use of underscores in client request header fields. When the use of underscores is disabled, request header fields whose names contain underscores are marked as invalid and become subject to the ignore invalid header directive.


http请求header中带有下划线不向后端转发,必须添加underscores_in_headers on; 参数到 default server中


举报

相关推荐

0 条评论