Skip to content

Commit 7b13605

Browse files
Apply suggestions from code review
Co-authored-by: Chris Ross <[email protected]>
1 parent 138cfaf commit 7b13605

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

articles/container-apps/rule-based-routing-custom-domain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ rules:
5151
prefix: "/2"
5252
action:
5353
prefixRewrite: "/"
54+
- match:
55+
prefix: "/"
5456
targets:
5557
- containerApp: "<CONTAINER_APP_NAME>"
5658
```

articles/container-apps/rule-based-routing.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ zone_pivot_groups: azure-cli-bicep
1313

1414
# Use rule-based routing with Azure Container Apps (preview)
1515

16-
In this article, you learn how to use rule-based routing with Azure Container Apps. With rule-based routing, you create a fully qualified domain name (FQDN) on your container apps environment. You then use rules to route requests to this FQDN to different container apps, depending on the path of each request.
16+
In this article, you learn how to use rule-based routing with Azure Container Apps. With rule-based routing, you create a fully qualified domain name (FQDN) on your container apps environment. You then use rules to route requests for this FQDN to different container apps, depending on the path of each request.
1717

1818
## Prerequisites
1919

@@ -138,6 +138,8 @@ $ROUTE_CONFIG_NAME="my-route-config"
138138
path: /app2
139139
action:
140140
prefixRewrite: /
141+
- match:
142+
path: /
141143
targets:
142144
- containerApp: my-container-app-2
143145
```
@@ -211,6 +213,11 @@ $ROUTE_CONFIG_NAME="my-route-config"
211213
prefixRewrite: '/'
212214
}
213215
}
216+
{
217+
match: {
218+
path: '/'
219+
}
220+
}
214221
]
215222
targets: [
216223
{

0 commit comments

Comments
 (0)