Skip to content

Commit 8e5ee58

Browse files
committed
Update AWS configuration with proper port and health check settings
1 parent c9c2416 commit 8e5ee58

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.ebextensions/01_application.config

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,26 @@ option_settings:
33
WSGIPath: application:app
44
aws:elasticbeanstalk:application:environment:
55
ALLOWED_ORIGINS: "https://getgit789.github.io"
6-
PORT: "5000"
6+
PORT: "80"
7+
aws:elasticbeanstalk:environment:process:default:
8+
HealthCheckPath: /health
9+
HealthCheckTimeout: 5
10+
HealthyThresholdCount: 3
11+
UnhealthyThresholdCount: 5
12+
MatcherHTTPCode: 200
13+
Port: 80
14+
Protocol: HTTP
15+
aws:elasticbeanstalk:environment:proxy:
16+
ProxyServer: nginx
17+
aws:elasticbeanstalk:environment:
18+
LoadBalancerType: application
19+
ServiceRole: aws-elasticbeanstalk-service-role
20+
aws:autoscaling:launchconfiguration:
21+
SecurityGroups: sg-0132d341fb7490968
22+
IamInstanceProfile: aws-elasticbeanstalk-ec2-role
23+
aws:elbv2:listener:default:
24+
ListenerEnabled: true
25+
Protocol: HTTP
26+
DefaultProcess: default
27+
aws:elasticbeanstalk:healthreporting:system:
28+
SystemType: enhanced

0 commit comments

Comments
 (0)