I'm trying to use nginx. My existing application sends headers in all lowercase letters.
For example:
device-id, content-type
But Nginx is changing the headers. The headers above are translated as follows.
Device-Id, Content-Type
I've tried ignoring invalid headers.
ignore_invalid_headers on;
But there was no change. I tried this setting in both server definition and http definition. There was no change.
I don't want nginx to make any changes to the headers. How can I achieve this?