Skip to content

Commit

Permalink
Nginx needs to reload after the app deploys to take the body_size config
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Fahy committed May 25, 2016
1 parent a9a19de commit 33e1b31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ebextensions/nginx.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ files:
group: root
content: |
client_max_body_size 2G;
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_nginx.sh":
mode: "000755"
owner: root
group: root
content: |
/usr/sbin/nginx -s reload

0 comments on commit 33e1b31

Please sign in to comment.