NGINX underscores in headers: Difference between revisions

From LinuxizeNet
(Created page with "Headers with underscore in name are disabled by NGINX. To enable them, add underscores_in_headers in NGINX server or http context. Syntax: underscores_in_headers on | off; Default: underscores_in_headers off; Context: http, server For more information you can check [https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers This Document] Category: NGINX")
 
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{clear}}
Headers with underscore in name are disabled by NGINX. To enable them, add underscores_in_headers in NGINX server or http context.
Headers with underscore in name are disabled by NGINX. To enable them, add underscores_in_headers in NGINX server or http context.
 
<syntaxhighlight lang="Bash" >
Syntax:  underscores_in_headers on | off;
Syntax:  underscores_in_headers on | off;
Default:  underscores_in_headers off;
Default:  underscores_in_headers off;
Context:  http, server
Context:  http, server
 
</syntaxhighlight>
For more information you can check [https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers This Document]
For more information you can check [https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers This Document]
[[Category: NGINX]]
[[Category: NGINX]]
[[Category:Howto]]

Latest revision as of 21:02, 9 August 2026

Headers with underscore in name are disabled by NGINX. To enable them, add underscores_in_headers in NGINX server or http context.

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

For more information you can check This Document