Skip to content

Commit

Permalink
Merge pull request #1438 from zyyw/master-nginx-900
Browse files Browse the repository at this point in the history
fix: add timeout 900 for nginx config
  • Loading branch information
zyyw committed Mar 8, 2023
2 parents 5bcceb3 + 0868661 commit 1c7cbe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/nginx/configmap-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ data:
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
proxy_buffering off;
proxy_request_buffering off;
proxy_send_timeout 900;
proxy_read_timeout 900;
}
location /service/ {
Expand Down
3 changes: 3 additions & 0 deletions templates/nginx/configmap-https.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ data:
proxy_buffering off;
proxy_request_buffering off;
proxy_send_timeout 900;
proxy_read_timeout 900;
}
}
{{- end }}
Expand Down

0 comments on commit 1c7cbe8

Please sign in to comment.