NGINX not passing header to proxy

Sesshomurai nginx-forum at
Wed Jan 2 17:17:47 UTC 2019

Here is what NGINX is trying to pass upstream. I set up a local mini HTTP
server to print the requests.

curl -i -H "x-api-key:APIKEY" -H "userAccount:USER1" https://localhost/test
--insecure - - [02/Jan/2019 12:13:51] "GET / HTTP/1.0" 200 -
ERROR:root:Host: localhost
Connection: close
User-Agent: curl/7.61.0
Accept: */*
x-api-key: APIKEY
userAccount: USER1

Posted at Nginx Forum:,282518,282534#msg-282534

More information about the nginx mailing list