New SSL Scripts

This commit is contained in:
Patrick Fic
2020-04-13 21:36:48 -07:00
parent d55355dac5
commit 4e7b834673
8 changed files with 187 additions and 127 deletions

View File

@@ -0,0 +1,11 @@
files:
# Elastic Beanstalk recreates the default configuration during every configuration deployment
"/opt/elasticbeanstalk/hooks/configdeploy/post/99_kill_default_nginx.sh":
mode: "000755"
owner: root
group: root
content: |
#!/bin/bash -xe
rm -f /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf
service nginx stop
service nginx start