Update healthcheck to run

This commit is contained in:
Layla 2020-05-01 23:45:13 -04:00
parent fb236647a3
commit 15f6a8df22
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31
2 changed files with 2 additions and 3 deletions

View File

@ -37,6 +37,8 @@ Resources:
NlbTargetGroup:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Properties:
HealthCheckPort: 80
HealthCheckProtocol: HTTP
Port: 7777
Protocol: TCP_UDP
TargetGroupAttributes:

View File

@ -14,10 +14,7 @@ RUN dnf install nginx -y
COPY nginx.conf /etc/nginx/conf.d/nginx.conf
RUN rm /etc/nginx/conf.d/default.conf
RUN systemctl enable nginx.service
EXPOSE 80/tcp
EXPOSE 7777/udp