Skip to content

Commit

Permalink
Increase Nginx timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchrobot committed May 20, 2019
1 parent f386784 commit d751ff8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .ebextensions/02_extend-proxy-timeout.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
container_commands:
extend_proxy_timeout:
command: |
sed -i '/\s*location \/ {/c \
location / { \
proxy_connect_timeout 600;\
proxy_send_timeout 600;\
proxy_read_timeout 600;\
send_timeout 600;\
' /tmp/deployment/config/#etc#nginx#conf.d#00_elastic_beanstalk_proxy.conf

0 comments on commit d751ff8

Please sign in to comment.