Application Load Balancer return 405 method not allowed for OPTIONS verb

0

My ALB points to my API in Fargate. Running my API locally it responds correctly.

All other end-points and http verbs appear to be working fine.

I don't see any settings anywhere that can impact http verbs with the ALB, target groups, etc.

Appreciate any advice Thanks, Jon

1개 답변
3
수락된 답변

If you're using ALB to route traffic to your applications (for instance, containers running on ECS with Fargate or EC2 instances), you need to ensure that your application or the web server it's running on is configured to return the necessary CORS headers in response to preflight OPTIONS requests as well as other applicable requests.

profile picture
전문가
답변함 3달 전
profile picture
전문가
검토됨 2달 전

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

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

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