Skip to content

Instantly share code, notes, and snippets.

@adamdilek
Forked from jakemmarsh/nginx.config
Created October 3, 2016 21:33
Show Gist options
  • Save adamdilek/cd4f3f73648d813770dc3e73c94be22e to your computer and use it in GitHub Desktop.
Save adamdilek/cd4f3f73648d813770dc3e73c94be22e to your computer and use it in GitHub Desktop.
Modify nginx proxy settings in Elastic Beanstalk options
files:
"/tmp/proxy.conf":
mode: "000644"
owner: root
group: root
content: |
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
container_commands:
00-add-config:
command: cat /tmp/proxy.conf >> /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf
01-restart-nginx:
command: /sbin/service nginx restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment