NGINX not passing header to proxy
nginx-forum at forum.nginx.org
Tue Jan 1 17:32:58 UTC 2019
Actually, had the wrong variable name in location for x-api-key, so now I
get the correct request header printed back to me
$ curl -i -H "x-api-key:somekey" -H "userAccount:someaccount"
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Tue, 01 Jan 2019 17:30:28 GMT
request: GET / HTTP/1.1; x-api-key: somekey; userAccount: someaccount
But the proxy still does not like what NGINX is sending vs. me sending it
directly with curl.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282518,282528#msg-282528
More information about the nginx