How to adjust Cache-Control for SSI-including entities

itpp2012 nginx-forum at
Mon Jan 19 21:39:23 UTC 2015

Jan Algermissen Wrote:
> Francis,
> thanks a lot;
> > proxy_hide_header
> does the trick. However, it still feels a bit brute-force. 
> Hence, if there are other solutions, I would be curious to know.

With Lua you could test to see which header has the least expiry time and
pass only that one.

Posted at Nginx Forum:,256201,256204#msg-256204

More information about the nginx mailing list