问题
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