Custom Maintenance Page for ALB on 502 error

0

I am using ALB with frontend and backend apps deployed on EKS. When I take service down for maintenance ; I need to show some nice maintenance page on UI instead of "502 Bad Gateway" and other error code. How to do that.?? Pls help me with some inputs

1개 답변
0

Hello,

Since you mentioned ALB, I assume you are using the AWS Loadbalancer Controller as your Ingress provider.

You can use fixed-response-actions feature of the ALB to show custom HTML responses for specific HTTP response codes.

Please look at the sample Ingress manifest shown in this documentation to understand how to set fixed-response actions in your Ingress manifest.

I hope this answers your question!

profile pictureAWS
지원 엔지니어
답변함 일 년 전

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

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

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