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
サポートエンジニア
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ