Cannot load anything other than root request -- ECS + ECR + ALB 503s

0

Greetings,

I have a simple static site behind NGINX in a container. I have pushed the image to ECR, and can pull and run the container without any issues.

However, when I put an Application Load Balancer in front of the ECS Service with Fargate, I am unable to load any assets. For that matter, anything beyond the root does not load: i.e. subdomain.example.com loads, and subdomain.example.com/* throws a 503.

As mentioned, I can run the container locally without issue by pulling the :latest tag, so I am confident it's not an issue with the container, and the issue lies somewhere in the configuration of the ALB and ECS Service.

Any guidance would be greatly appreciated.

질문됨 4년 전214회 조회
1개 답변
0

This turned out to be a misconfigured Listener that was pointed at an incorrect target group. I don't see any way to delete my question, so I figured I'd share the "solution."

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠