我们如何将RedirectConfigurations规则的数量从20增加到最大,以及如何在Application Gateway中启用CORS规则? [英] How do we increarese the number of RedirectConfigurations Rule from 20 to maximum also how to enable CORS Rules in Application Gateway?.

查看:120
本文介绍了我们如何将RedirectConfigurations规则的数量从20增加到最大,以及如何在Application Gateway中启用CORS规则?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用以下命令在应用程序网关中创建HTTPS重定向规则配置时 WAF_V2 ,我们收到以下错误.

When i was creating the HTTPS Redirect rule configuration in application gateway with WAF_V2 we are getting the below error.

"无法将配置更改保存到应用程序网关" Test-ApplicationGateway ".错误:RedirectConfigurations的数量超过了最大允许值. RedirectConfigurations的数量为21,最大允许数量 是20."

"Failed to save configuration changes to application gateway 'Test-ApplicationGateway'. Error: The number of RedirectConfigurations exceeds the maximum allowed value. The number of RedirectConfigurations is 21 and the maximum allowed is 20."

反正还有增加RedirectConfigurations规则限制吗?

Is there anyway to increase the RedirectConfigurations Rule limit?

Microsoft已推出支持"静态IP "的 WAF_V2 版本;但是没有此较新版本的文档,如果有任何文档,请共享.

Microsoft has rolled out WAF_V2 version with support "Static IP" but there is no documentation for this newer version, please share if you have any documentation.

在使用配置为" WAF_V2 "的自定义域API URL时,出现以下错误已启用.

We are getting the below error while using the Custom domain API URL with configuration of "WAF_V2" Enabled.

如果我们使用Azure默认URL,则不会收到任何错误的API调用正常运行,无论如何都应在应用程序网关级别中允许CORS规则.

If we use Azure Default URL we are not getting any error API calling is working properly, is there anyway to Allow CORS rule in application Gateway Level.

我们已在API级别启用了CORS规则,但不适用于自定义网址".

We have enabled CORS rule in API level but that doesn't worked with Custom URL.

错误:

跨域请求被阻止:同源起源"策略不允许读取https://api.testdomain.com/api/v1/mobileplatforms上的远程资源. (原因:CORS请求未成功).[了解更多]
跨源请求被阻止:同源起源"策略禁止读取https://api.testdomain.com/api/v1/mobileplatforms上的远程资源. (原因:CORS标头"Access-Control-Allow-Origin"缺失).

可能未处理的拒绝:{数据":null,状态":-1,"config":{方法":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","headers":{"Authorization":"545454CF-74C6-4273-8E05-DB8F53662070:FKmHuWeC4D3pRL/+ M44Tv "nna-date":星期一, 2018年10月8日09:38:29 GMT'',``Accept'':``application/json,text/plain,*/*''},``url'':``https://api.testdomain.com/api/v1/mobileplatforms","cached":false},"statusText":","xhrStatus":"error"}.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.testdomain.com/api/v1/mobileplatforms. (Reason: CORS request did not succeed).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.testdomain.com/api/v1/mobileplatforms. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","headers":{"Authorization":"545454CF-74C6-4273-8E05-DB8F53662070:FKmHuWeC4D3pRL/+M44TvkFTqsIKS0/uOX0IVtGlIpM=","nna-date":"Mon, 08 Oct 2018 09:38:29 GMT","Accept":"application/json, text/plain, */*"},"url":"https://api.testdomain.com/api/v1/mobileplatforms","cached":false},"statusText":"","xhrStatus":"error"}.

您的帮助已得到我们的感谢.

Your help is appreciated in advance..

干杯!

Raja R

推荐答案

我不确定是否可以增加重定向配置规则的数量,您可以打开支持请求以查看是否是可能的.

I am not sure if it is possible to increase the amount of Redirectconfiguration rules, you can open a support request to see if this is possible. 

有关WAF_V2的文档尚未发布,但是我们正在努力尽快将其发布,对于给您带来的任何不便,我们深表歉意.

The documentation for WAF_V2 has not been released yet, but we are working to get it out ASAP, and we apologize for any inconvenience. 


这篇关于我们如何将RedirectConfigurations规则的数量从20增加到最大,以及如何在Application Gateway中启用CORS规则?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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