nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.37k stars 323 forks source link

How to use underscores_in_headers in Nginx Unit #951

Closed FlashIvano closed 1 year ago

FlashIvano commented 1 year ago

Chatwoot need use api_access_token in Head.

lcrilly commented 1 year ago

Hi @FlashIvano , you can do this with the discard_unsafe_fields setting.

echo '{"http":{"discard_unsafe_fields":false}}' | unitc /config/settings