Hello, My use case is simple: 1) Serve static files coming from an upstream (using proxy_pass) 2) If the upstream returns a non-200/304 response - ALWAYS serve the file from cache, even if its expired/stale. For the most part, 'proxy_cache_use_stale' does the trick. However - it doesn't cover cases such as 401, 402, etc. (the full list it does support according to the docs: error | timeouby natiz - How to...
![]() |
![]() |
![]() |
![]() |
|