NGINX underscores in headers: Difference between revisions
From LinuxizeNet
No edit summary |
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS)) |
||
| (2 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" > | <syntaxhighlight lang="Bash" > | ||
| Line 7: | Line 8: | ||
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