Created
July 13, 2017 16:16
-
-
Save thomasmichaelwallace/45b2b66b18412058f766e5239104b741 to your computer and use it in GitHub Desktop.
Elastic Beanstalk extension command to increase the nginx upstream proxy timeout.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container_commands: | |
extend_proxy_timeout: | |
command: | | |
sed -i '/\s*location \/ {/c \ | |
location / { \ | |
proxy_connect_timeout 300;\ | |
proxy_send_timeout 300;\ | |
proxy_read_timeout 300;\ | |
send_timeout 300;\ | |
' /tmp/deployment/config/#etc#nginx#conf.d#00_elastic_beanstalk_proxy.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment