Skip to content

Instantly share code, notes, and snippets.

@vivekbeas
Last active April 29, 2020 00:25
Show Gist options
  • Save vivekbeas/ad529b0afd148533985dff3dd82910c9 to your computer and use it in GitHub Desktop.
Save vivekbeas/ad529b0afd148533985dff3dd82910c9 to your computer and use it in GitHub Desktop.
AWS Elastic beanstalk application configuration to restart the nginx server
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/06_restart_nginx.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
service nginx restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment