Update healthcheck to run
This commit is contained in:
parent
fb236647a3
commit
15f6a8df22
@ -37,6 +37,8 @@ Resources:
|
||||
NlbTargetGroup:
|
||||
Type: AWS::ElasticLoadBalancingV2::TargetGroup
|
||||
Properties:
|
||||
HealthCheckPort: 80
|
||||
HealthCheckProtocol: HTTP
|
||||
Port: 7777
|
||||
Protocol: TCP_UDP
|
||||
TargetGroupAttributes:
|
||||
|
@ -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
|
Reference in New Issue
Block a user