Skip to content

Commit 22b3ba6

Browse files
committed
feat(router) Avoid nginx 502, 503, 504 errors
1 parent e80ef8e commit 22b3ba6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

router/templates/nginx.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ http {
8181
proxy_send_timeout 1200s;
8282
proxy_read_timeout 1200s;
8383

84+
proxy_next_upstream error timeout http_502 http_503 http_504;
85+
8486
add_header X-Deis-Upstream $upstream_addr;
8587

8688
proxy_pass http://{{ Base $service.Key }};

0 commit comments

Comments
 (0)