<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">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.<br>
<br>
But thanks for the explanation Robert!<br>
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.<br>
<br>
Best regards,<br>
Lucas Rolff<br>
<br>
Robert Paprocki wrote:
<blockquote cite="mid:53B27083.4040903@fearnothingproductions.net" 
type="cite">
  <pre wrap="">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:
</pre>
  <blockquote type="cite"><pre wrap="">On 1 Jul 2014 11:01, "Lucas Rolff" <<a class="moz-txt-link-abbreviated" href="mailto:lucas@slcoding.com">lucas@slcoding.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:lucas@slcoding.com"><mailto:lucas@slcoding.com></a>> wrote:
</pre><blockquote type="cite"><pre wrap="">So.. Where is the thing that states I can't use proxy_pass_header
</pre></blockquote><pre wrap="">cache-control, or expires? :)))

The proxy_hide_header and  proxy_pass_header reference docs.



_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a>

</pre></blockquote>
  <pre wrap=""><!---->
_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a>
</pre>
</blockquote>
</body></html>