This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
"/opt/elasticbeanstalk/hooks/appdeploy/post/06_restart_nginx.sh": | |
mode: "000755" | |
owner: root | |
group: root | |
content: | | |
#!/usr/bin/env bash | |
service nginx restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources: | |
PublicLoadBalancerHttpRedirectListener: | |
Type: AWS::ElasticLoadBalancingV2::Listener | |
Properties: | |
DefaultActions: | |
- RedirectConfig: | |
Host: "#{host}" | |
Path: "/#{path}" | |
Port: 443 | |
Protocol: "HTTPS" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option_settings: | |
aws:elasticbeanstalk:managedactions: | |
ManagedActionsEnabled: true | |
PreferredStartTime: "Sun:21:00" | |
aws:elasticbeanstalk:managedactions:platformupdate: | |
UpdateLevel: minor | |
InstanceRefreshEnabled: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option_settings: | |
aws:elasticbeanstalk:managedactions: | |
ManagedActionsEnabled: true | |
PreferredStartTime: "Sun:21:00" | |
aws:elasticbeanstalk:managedactions:platformupdate: | |
UpdateLevel: minor | |
InstanceRefreshEnabled: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option_settings: | |
aws:elasticbeanstalk:healthreporting:system: | |
SystemType: enhanced | |
aws:elasticbeanstalk:environment: | |
ServiceRole: aws-elasticbeanstalk-service-role |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
"/etc/nginx/conf.d/02_proxy.conf": | |
mode: "00644" | |
owner: root | |
group: root | |
content: | | |
server_tokens off; | |
add_header Content-Security-Policy "script-src 'self'"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
"/etc/nginx/conf.d/02_proxy.conf": | |
mode: "00644" | |
owner: root | |
group: root | |
content: | | |
server_tokens off; | |
add_header Content-Security-Policy "script-src 'self'"; |