Azure Front Door - configure maintenance page

僤鯓⒐⒋嵵緔 提交于 2020-02-07 01:14:00

问题


I got AFD with 1 FE web app on it. I want to add another web application that hold maintenance/sorry page. All URLs from FE need to be cached, sorry page image must not be cached.
I tried to add my sorry page web app to same backend pool with low priority and weight. When i turn off FE, it redirect to sorry page web app, but it caches content.
And as i understood, i cannot use another backend pool (to disable caching ), cause 2 pools cannot be connected to same AFD FE endpoint.

Any thoughts how can maintenance page web app be added to AFD? Thanks in advance.


回答1:


AFD doesn't have a feature to have custom Error page as of today. Adding the error page to the same backend pool is not a right way as the members of the same backend pool should contain the same content.

In Frontdoor you will not be able to do it. You can use Application Gateway where you can point to the maintenance page based on the backend server response (502 or 403)

Let me know if you have any questions.



来源:https://stackoverflow.com/questions/59307145/azure-front-door-configure-maintenance-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!