Welcome! Log In Create A New Profile

Advanced

Re: Serving from cache even when the origin server goes down

Cherian Thomas
June 30, 2015 11:38AM
Thanks a lot. This is perfect.

- Cherian

On Mon, Jun 29, 2015 at 10:01 PM, Lucas Rolff <lucas@slcoding.com> wrote:

>
> http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale
>
> You can use multiple values e.g. the below is probably a good start:
>
> proxy_cache_use_stale error timeout invalid_header updating;
>
> Cherian Thomas <cherian.in@gmail.com>
> 30 Jun 2015 03:27
>
> Is it possible to configure Nginx to serve from cache even when the origin
> server is not accessible?
>
> I am trying to figure out if I can use a replicated Nginx instance that
> has cache files rsynced (lsyncd
> http://t.sidekickopen03.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1qwrMlW63Bdqv8rBw8YW4XXPpC56dBXDf1zVF0j02?t=https%3A%2F%2Fcode.google.com%2Fp%2Flsyncd%2F&si=6435350837723136&pi=2518a249-a8f4-4dd6-9e96-783723ac8e1a)
> from the primary instance and serve from the replicated instance (DNS
> switch) if the primary goes down.
> - Cherian
> _______________________________________________
> 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

Serving from cache even when the origin server goes down

Cherian Thomas June 29, 2015 09:28PM

Re: Serving from cache even when the origin server goes down

Lucas Rolff June 30, 2015 01:02AM

Re: Serving from cache even when the origin server goes down

Cherian Thomas June 30, 2015 11:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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