New SSL Scripts
This commit is contained in:
11
.ebextensions/04_configdeploy_post_hooks.config
Normal file
11
.ebextensions/04_configdeploy_post_hooks.config
Normal 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
|
||||
Reference in New Issue
Block a user