Update healthcheck to run
This commit is contained in:
		@ -37,6 +37,8 @@ Resources:
 | 
				
			|||||||
  NlbTargetGroup:
 | 
					  NlbTargetGroup:
 | 
				
			||||||
    Type: AWS::ElasticLoadBalancingV2::TargetGroup
 | 
					    Type: AWS::ElasticLoadBalancingV2::TargetGroup
 | 
				
			||||||
    Properties:
 | 
					    Properties:
 | 
				
			||||||
 | 
					      HealthCheckPort: 80
 | 
				
			||||||
 | 
					      HealthCheckProtocol: HTTP
 | 
				
			||||||
      Port: 7777
 | 
					      Port: 7777
 | 
				
			||||||
      Protocol: TCP_UDP
 | 
					      Protocol: TCP_UDP
 | 
				
			||||||
      TargetGroupAttributes:
 | 
					      TargetGroupAttributes:
 | 
				
			||||||
 | 
				
			|||||||
@ -14,10 +14,7 @@ RUN dnf install nginx -y
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
COPY nginx.conf /etc/nginx/conf.d/nginx.conf
 | 
					COPY nginx.conf /etc/nginx/conf.d/nginx.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN rm /etc/nginx/conf.d/default.conf
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
RUN systemctl enable nginx.service
 | 
					RUN systemctl enable nginx.service
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
EXPOSE 80/tcp
 | 
					EXPOSE 80/tcp
 | 
				
			||||||
EXPOSE 7777/udp
 | 
					EXPOSE 7777/udp
 | 
				
			||||||
		Reference in New Issue
	
	Block a user