Francis Daly
January 19, 2015 03:40PM
On Mon, Jan 19, 2015 at 08:44:33PM +0100, Jan Algermissen wrote:

Hi there,

> upstream U1 produces the main page (the one containing SSI include directives) and wants nginx to cache its response (the page with the unresolved SSI include directives). Thus U1 sends the main page with Cache-Control: max-age=60.

> In addition I of course want nginx to strip/adjust the Cache-Control / max-age when the assembled page is sent to the client.

Completely untested, but, depending on how you connect to upstream, does
"proxy_hide_header" or "proxy_ignore_headers" do what you want?

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to adjust Cache-Control for SSI-including entities

Jan Algermissen January 19, 2015 02:46PM

Re: How to adjust Cache-Control for SSI-including entities

Francis Daly January 19, 2015 03:40PM

Re: How to adjust Cache-Control for SSI-including entities

Jan Algermissen January 19, 2015 04:22PM

Re: How to adjust Cache-Control for SSI-including entities

itpp2012 January 19, 2015 04:39PM

Re: How to adjust Cache-Control for SSI-including entities

Jan Algermissen January 20, 2015 05:50AM

Re: How to adjust Cache-Control for SSI-including entities

Francis Daly January 20, 2015 07:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 277
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