Skip to content

Commit

Permalink
try next upstream in more cases for cached data
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Dec 14, 2024
1 parent f1139c9 commit 4a63b18
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ http {
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504 http_429;
proxy_cache_background_update on;

proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504 http_429;

proxy_pass_request_body off;
proxy_pass_request_headers off;

Expand Down Expand Up @@ -525,6 +527,8 @@ http {
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504 http_429;
proxy_cache_background_update on;

proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504 http_429;

proxy_pass_request_body off;
proxy_pass_request_headers off;

Expand Down Expand Up @@ -589,6 +593,8 @@ http {
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504 http_429;
proxy_cache_background_update on;

proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504 http_429;

proxy_pass_request_body off;
proxy_pass_request_headers off;

Expand Down Expand Up @@ -642,6 +648,8 @@ http {
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504 http_429;
proxy_cache_background_update on;

proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504 http_429;

proxy_pass_request_body off;
proxy_pass_request_headers off;

Expand Down

0 comments on commit 4a63b18

Please sign in to comment.