Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Ignore content-type while forwarding to backend proxy (1 reply)

$
0
0
one of my apps, specifically those on IOS forwarded a content-type header...this is causing my backend server to mess up its security signature check.....
i need to be able to ignore content-type headers...
assigning the header as empty "" does not work, (proxy_set_header Accept-Encoding "";)and also tried mapping the content-type and using the variable... though that did not work either as backend is very strict in that regard...

i need to be able to ignore it completely...
i tried adding proxy_hide_header Content-Type;

and tested,it's still sending content-type while directing traffic to backend..

any advice?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>