如何映射“/”在一个url映射?

Networking – > Load Balancin克 – > Host and path rules ,我已经定义了一个URL映射映射'/','/ blog /','features /'和'/ pricing /'到wordpress后端/

在这里输入图像说明

但是,当我添加'/'的configurationtesting,我得到这个错误消息:

在这里输入图像说明

我的意图是有一个知名的url映射到一个WordPress的后端,其余的指向另一个后端服务。

为什么上面的规则中的“/”不会将“www.examples.com/”映射到wordpress服务?

编辑

1)根据Grisha Levit在评论中的要求

 >> gcloud compute backend-services describe backend-service-url-mapper affinityCookieTtlSec: 0 backends: - balancingMode: UTILIZATION capacityScaler: 1.0 description: '' group: https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-c/instanceGroups/instance-group-forward-to-gae maxUtilization: 0.8 connectionDraining: drainingTimeoutSec: 300 creationTimestamp: '2017-01-16T18:18:24.815-08:00' description: '' enableCDN: false fingerprint: jx1UyRlAaXY= healthChecks: - https://www.googleapis.com/compute/v1/projects/myproject/global/httpHealthChecks/health-check-wordpress id: '5709193638199738399' kind: compute#backendService loadBalancingScheme: EXTERNAL name: backend-service-url-mapper port: 80 portName: http protocol: HTTP selfLink: https://www.googleapis.com/compute/v1/projects/myproject/global/backendServices/backend-service-url-mapper sessionAffinity: NONE timeoutSec: 30 

它基本上是一堆nginx服务器。

2)以下是所有规则的全貌:

在这里输入图像说明

像这样的一个安装程序使用两个后端(NGINX和Apache) 在这里输入图像说明

HTTP请求redirect如下:

http://test.mydomain.com/到NGINX

http://test.mydomain.com/blog到NGINX

http://test.mydomain.com/pricing到NGINX

http://test.mydomain.com/anything到Apache

运行状况检查可能需要几分钟的时间,Load Balancer可能需要更新新的设置。 参考文件可以在这里find。