配置Azure应用程序网关到Azure Web应用程序以按路径路由请求 [英] Configuring Azure Application Gateway to Azure web app to route requests by path

查看:121
本文介绍了配置Azure应用程序网关到Azure Web应用程序以按路径路由请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个Web应用程序(webapp1和webapp2).我想使用可以通过基于路径的重定向进行路由的Application Gateway功能. http://mywebsite/login1 重定向到webapp1 http://mywebsite/login2 重定向到webapp2

I have two web apps (webapp1 and webapp2). I would like to use Application Gateway features where can route using path based redirect. http://mywebsite/login1 redirect to webapp1 http://mywebsite/login2 redirect to webapp2

是否可以通过应用程序网关执行此操作,如果可以的话,请您提供链接或指导以了解如何针对Web应用程序执行此操作

Is this possible it possible to do this with Application gateway if so can you please give link or direction on how to do this for web apps prespective

推荐答案

是的.您可以在Application Gateway中使用基于路径的路由来完成这项工作.这是链接:

Yes, it is. You can use path-based routing in the Application Gateway to do the job. Here is the link:

应用程序网关URL路由

主要思想是,您可以使用路由规则来指向特定的后端池.该后端池将指向您要处理该请求的任何服务器.

The main idea is that you can use the routing rules to point to a specific backend pool. That backend pool will point to whatever servers you want handling that request.

这篇关于配置Azure应用程序网关到Azure Web应用程序以按路径路由请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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