NGINX not passing header to proxy

Sesshomurai nginx-forum at forum.nginx.org
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

127.0.0.1 - - [02/Jan/2019 12:13:51] "GET / HTTP/1.0" 200 -
ERROR:root:Host: localhost
X-Real-IP: 127.0.0.1
Connection: close
User-Agent: curl/7.61.0
Accept: */*
x-api-key: APIKEY
userAccount: USER1

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282518,282534#msg-282534



More information about the nginx mailing list