<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">nginx:<br>
<br>
curl -I <a class="moz-txt-link-freetext" href="http://">http://</a><span>domain.com</span>/wp-content/uploads/2012/05/forside.png<br>
HTTP/1.1 200 OK<br>
Server: nginx<br>
Date: Tue, 01 Jul 2014 10:42:06 GMT<br>
Content-Type: image/png<br>
Content-Length: 87032<br>
Last-Modified: Fri, 08 Mar 2013 08:02:48 GMT<br>
Connection: keep-alive<br>
Vary: Accept-Encoding<br>
ETag: "51399b28-153f8"<br>
Accept-Ranges: bytes<br>
<br>
Backend:<br>
<br>
curl -I <a class="moz-txt-link-freetext" href="http://domain.com:8081/wp-content/uploads/2012/05/forside.png">http://domain.com:8081/wp-content/uploads/2012/05/forside.png</a><br>
HTTP/1.1 200 OK<br>
Date: Tue, 01 Jul 2014 10:42:30 GMT<br>
Server: Apache<br>
Last-Modified: Fri, 08 Mar 2013 08:02:48 GMT<br>
Accept-Ranges: bytes<br>
Content-Length: 87032<br>
<span style="font-weight: bold;">Cache-Control: max-age=2592000</span><br
 style="font-weight: bold;">
<span style="font-weight: bold;">Expires: Thu, 31 Jul 2014 10:42:30 GMT</span><br>
Content-Type: image/png<br>
<br>
So backend returns the headers just fine.<br>
<br>
Best regards,<br>
Lucas Rolff<br>
<br>
<br>
Valentin V. Bartenev wrote:
<blockquote cite="mid:10328024.X5V255Nk3V@vbart-workstation" type="cite">
  <pre wrap="">On Tuesday 01 July 2014 10:30:47 Lucas Rolff wrote:
</pre>
  <blockquote type="cite"><pre wrap="">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.

</pre></blockquote>
  <pre wrap=""><!---->[..]

They can be not sent because your backend stopped returning them for some 
reason.  Try to investigate what happens on the wire between your backend
and nginx.

  wbr, Valentin V. Bartenev

_______________________________________________
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>