Thanks for the responses guys. I've tried proxy_store on one config, but now I'm just receiving time-outs when I block the origin server. No stale cache on error at all. Here are two separate configs I'm using. The first one is as described earlier, with caching and stale cache errors working, although cache is browser dependent. proxy_cache_path /etc/nginx/cache/abc123.org levels=1:2 keyby austevo - Nginx Mailing List - English
I'm having the same issue with cache being browser dependent. I've tried setting up a crawl job using wget --recursive with Firefox and Chrome headers, but that doesn't seem to trigger server-side caching either. If I browse the site using Firefox, then caching works for Firefox, and Firefox only. If I browse the site using Chrome, then caching works for Chrome, and Chrome only. I'd likeby austevo - Nginx Mailing List - English
Hi, I'm trying to setup NGINX as a reverse proxy, cached fail over solution - similar to Newrelic's 'Always Online' feature. So far, I have it working, but now how I'd like. What I'd like is for the cached pages to display the live web pages, and only present a cached page upon error. Is this possible? If so, I can just have DNS point to the rev proxy server. Here is a host config. Gby austevo - How to...
Hi All, I need to inject some PHP code into our NGINX reverse proxy server here. I've done my research, but as I'm a bit new to NGINX I want to be extra cautious to not mess anything up. From what I've gathered, to do the above I'll need to use the ngx_http_sub_module. And to do so, I need to ensure it's enabled. So, I ran: nginx -V and the below is present: --add-module=/build/nginx-by austevo - How to...
![]() |
![]() |
![]() |
![]() |
|