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")
 
No edit summary
Line 1: Line 1:
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]]

Revision as of 06:35, 19 January 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