NGINX underscores in headers: Difference between revisions

From LinuxizeNet
No edit summary
No edit summary
Line 1: Line 1:
<div style = "line-height: 1.2">
{{clear}}</div></div><div style = "margin-top: 1.5em; border: 3px solid #ae8c55; border-radius: .5em; padding: 1em 1.5em; font-size: 1.2em">
<strong></strong>
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" >

Revision as of 20:10, 6 March 2024

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