Welcome! Log In Create A New Profile

Advanced

Re: Override Content-Type header with proxied requests

May 24, 2013 04:58AM
Thanks for the reply!!

This approach can be a good solution.
I wonder if this can affect the server perfomance.

Another solution could be to create a location for each file extension that only adds the correct Content-Type header.
This is certainly less maintainable than a map, but is it better for the perfomance ?

Does not exist any native Nginx directive (or in a third party module) that permits Content-Type overriding (using Nginx mime.types "types" file) for proxied requests ?

Thanks again!
---
Andrea
SubjectAuthorPosted

Override Content-Type header with proxied requests

andrea.mandoloMay 23, 2013 11:07AM

Re: Override Content-Type header with proxied requests

Jonathan MatthewsMay 23, 2013 11:12AM

Re: Override Content-Type header with proxied requests

António P. P. AlmeidaMay 23, 2013 11:26AM

Re: Override Content-Type header with proxied requests

António P. P. AlmeidaMay 23, 2013 11:34AM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 06, 2014 08:18AM

Re: Override Content-Type header with proxied requests

andrea.mandoloMay 24, 2013 04:58AM

Re: Override Content-Type header with proxied requests

wandenbergAugust 07, 2014 12:12AM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 07, 2014 11:57AM

Re: Override Content-Type header with proxied requests

wandenbergAugust 07, 2014 01:58PM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 07, 2014 02:17PM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 07, 2014 02:30PM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 08, 2014 09:23AM

Re: Override Content-Type header with proxied requests

wandenbergAugust 08, 2014 11:44AM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 08, 2014 10:34PM

Re: Override Content-Type header with proxied requests

manish-ezestAugust 13, 2014 06:18AM

Re: Override Content-Type header with proxied requests

flygoastAugust 09, 2014 11:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 5 on December 17, 2014
Record Number of Guests: 154 on December 17, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready