Welcome! Log In Create A New Profile

Advanced

Ignore content-type while forwarding to backend proxy

December 23, 2014 10:12AM
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
Subject Author Posted

Ignore content-type while forwarding to backend proxy

dnalor December 23, 2014 10:12AM

Re: Ignore content-type while forwarding to backend proxy

Maxim Dounin December 23, 2014 10:44AM

RE: Ignore content-type while forwarding to backend proxy

dnalor December 24, 2014 01:54AM

Re: Ignore content-type while forwarding to backend proxy

Francis Daly December 24, 2014 04:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready