Azure前门-配置维护页面 [英] Azure Front Door - configure maintenance page

查看:106
本文介绍了Azure前门-配置维护页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在AFD上安装了1个FE Web应用程序.我要添加另一个包含维护/抱歉页面的Web应用程序. 必须缓存来自FE的所有URL,抱歉,不能缓存页面图像.
我尝试将优先页面和优先级较低的遗憾页面Web应用程序添加到同一后端池中.当我关闭FE时,它会重定向到对不起的网页Web应用程序,但会缓存内容.
而且据我所知,我不能使用另一个后端池(以禁用缓存),因为2个池无法连接到相同的AFD FE端点.
有什么想法如何将维护页面Web应用程序添加到AFD? 预先感谢.

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.

推荐答案

AFD到目前为止还没有自定义错误页面的功能.错误页面添加到相同的后端池是不正确的方法,因为相同的后端池的成员应包含相同的内容.

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.

在Frontdoor中,您将无法执行此操作.您可以使用Application Gateway在其中根据后端服务器响应(502或403)指向维护页面

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.

这篇关于Azure前门-配置维护页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆