Lucas Rolff
July 01, 2014 04:32AM
I've verified that 1.4.4 works as it should, I receive the cache-control
and expires headers sent from upstream (Apache 2.4 in this case),
upgrading to nginx 1.6.0 breaks this, no config changes, nothing.

But thanks for the explanation Robert!
I'll try investigate it further to see if I can find the root cause,
since for me this is very odd that it's suddenly not sent to the client
anymore.

Best regards,
Lucas Rolff

Robert Paprocki wrote:
> Can we move past passive aggressive posting to a public mailing list and
> actually try to accomplish something?
>
> The nginx docs indicate the following about proxy_pass_header
>
> "Permits passing otherwise disabled header fields from a proxied server
> to a client."
>
> 'otherwise disabled header fields' are documented as the following (from
> proxy_hide_header docs):
>
> By default, nginx does not pass the header fields “Date”, “Server”,
> “X-Pad”, and “X-Accel-...” from the response of a proxied server to a
> client.
>
> So I don't know why you would need to have proxy_pass_header
> Cache-Control in the first place, since this wouldn't seem to be dropped
> by default from the response of a proxied server to a client.
>
> Have you tried downgrading back to 1.4.4 to confirm whatever problem
> you're having doesn't exist within some other part of your
> infrastructure that was potentially changed as part of your upgrade?
>
>
> On 07/01/2014 01:09 AM, Jonathan Matthews wrote:
>> On 1 Jul 2014 11:01, "Lucas Rolff"<lucas@slcoding.com
>> <mailto:lucas@slcoding.com>> wrote:
>>> So.. Where is the thing that states I can't use proxy_pass_header
>> cache-control, or expires? :)))
>>
>> The proxy_hide_header and proxy_pass_header reference docs.
>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 01:00AM

Re: proxy_pass_header not working in 1.6.0

Jonathan Matthews July 01, 2014 03:12AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 03:22AM

Re: proxy_pass_header not working in 1.6.0

Jonathan Matthews July 01, 2014 03:30AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 03:36AM

Re: proxy_pass_header not working in 1.6.0

Jonathan Matthews July 01, 2014 03:56AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 04:02AM

Re: proxy_pass_header not working in 1.6.0

Jonathan Matthews July 01, 2014 04:10AM

Re: proxy_pass_header not working in 1.6.0

Robert Paprocki July 01, 2014 04:26AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 04:32AM

Re: proxy_pass_header not working in 1.6.0

Valentin V. Bartenev July 01, 2014 06:42AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 07:02AM

Re: proxy_pass_header not working in 1.6.0

Robert Paprocki July 01, 2014 07:04AM

proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 07:32AM

Re: proxy_pass_header not working in 1.6.0

Maxim Dounin July 01, 2014 08:18AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 08:36AM

Re: proxy_pass_header not working in 1.6.0

Valentin V. Bartenev July 01, 2014 08:40AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 08:52AM

Re: proxy_pass_header not working in 1.6.0

Maxim Dounin July 01, 2014 08:52AM

Re: proxy_pass_header not working in 1.6.0

Lucas Rolff July 01, 2014 06:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready