Skip to content

Commit de9362f

Browse files
committed
review comment
1 parent 387f6b9 commit de9362f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/api-management/how-to-deploy-self-hosted-gateway-container-apps.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ This command creates:
117117
* A minimum of 1 and a maximum of 3 replicas of the container app.
118118
* A connection from the self-hosted gateway to the API Management instance using configuration values passed in environment variables. For details, see the self-hosted gateway [container configuration settings](self-hosted-gateway-settings-reference.md).
119119

120+
> [!NOTE]
121+
> Azure Container Apps ingress forwards HTTPS requests to the self-hosted gateway container app as HTTP. Here, the `net.server.http.forwarded.proto.enabled` environment variable is set to `true` so that the self-hosted gateway uses the `X-Forwarded-Proto` header to determine the original protocol of the request.
122+
120123
### Confirm that the container app is running
121124

122125
1. Sign in to the [Azure portal](https://portal.azure.com), and navigate to your container app.
@@ -168,6 +171,7 @@ For example, deploy an example music album API to a container app. For later acc
168171

169172
# [PowerShell](#tab/psh)
170173
```azurecli
174+
# PowerShell syntax
171175
az containerapp up --name albums-api `
172176
--resource-group myResourceGroup --location centralus `
173177
--environment my-environment --source .
@@ -219,14 +223,14 @@ Call the API using the FQDN of the self-hosted gateway running in the container
219223
220224
```azurecli-interactive
221225
#!/bin/bash
222-
az containerapp show ----name my-gateway --resource-group myResourceGroup \
226+
az containerapp show --name my-gateway --resource-group myResourceGroup \
223227
--query "properties.configuration.ingress.fqdn" --output tsv
224228
```
225229
226230
# [PowerShell](#tab/psh)
227231
```azurecli
228232
# PowerShell syntax
229-
az containerapp show ----name my-gateway --resource-group myResourceGroup `
233+
az containerapp show --name my-gateway --resource-group myResourceGroup `
230234
--query "properties.configuration.ingress.fqdn" --output tsv
231235
```
232236
---

0 commit comments

Comments
 (0)