Saturday, 13 May 2017

Nginx fails to receive custom header when Redirected by Proxy server Node

I am running an NGINX server pointing to my proxy server which is running on Node. I am redirecting to app/ from node using express redirect. I am also passing a custom header using res.set("X-Custom-Header","XXX"); before the redirect. But the same header is not retrieved on app/ route on NGINX. Is there anything I am missing?



via ajaykumar

No comments:

Post a Comment