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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南