Skip to content

Commit 1daff1f

Browse files
committed
edits
1 parent 557d5e6 commit 1daff1f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/spring-apps/enterprise/how-to-configure-ingress.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ This article shows you how to set and update an application's ingress settings i
1717

1818
The Azure Spring Apps service uses an underlying ingress controller to handle application traffic management. The following ingress settings are supported for customization.
1919

20-
| Name | Ingress setting | Default value | Valid range | Description |
21-
|----------------------|------------------------|---------------|-------------------|--------------------------------------------------------------------------|
22-
| `ingress-read-timeout` | `proxy-read-timeout` | 300 | \[1,1800\] | The timeout in seconds for reading a response from a proxied server. |
23-
| `ingress-send-timeout` | `proxy-send-timeout` | 60 | \[1,1800\] | The timeout in seconds for transmitting a request to the proxied server. |
24-
| `session-affinity` | `affinity` | None | Session, None | The type of the affinity that makes the request come to the same pod replica that was responding to the previous request. Set `session-affinity` to Cookie to enable session affinity. In the portal only, you must choose the enable session affinity box. |
25-
| `session-max-age` | `session-cookie-max-age` | 0 | \[0, 604800\] | The time in seconds until the cookie expires, corresponding to the `Max-Age` cookie directive. If you set `session-max-age` to 0, the expiration period is equal to the browser session period. |
26-
| `backend-protocol` | `backend-protocol` | Default | Default, GRPC(short for Remote Procedure Call) | Sets the backend protocol to indicate how NGINX should communicate with the backend service. Default means HTTP/HTTPS/WebSocket. The `backend-protocol` setting only applies to client-to-app traffic. For app-to-app traffic within the same service instance, choose any protocol for app-to-app traffic without modifying the `backend-protocol` setting. The protocol doesn't restrict your choice of protocol for app-to-app traffic within the same service instance. |
27-
| `client-auth` | `client-auth` | 0 selected | - | Select the certificates with public key you uploaded in TLS/SSL settings, and ingress concats these certificates to one and use it for client authentication.|
20+
| Name | Ingress setting | Default value | Valid range | Description |
21+
|------------------------|--------------------------|---------------|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
22+
| `ingress-read-timeout` | `proxy-read-timeout` | 300 | \[1,1800\] | The timeout in seconds for reading a response from a proxied server. |
23+
| `ingress-send-timeout` | `proxy-send-timeout` | 60 | \[1,1800\] | The timeout in seconds for transmitting a request to the proxied server. |
24+
| `session-affinity` | `affinity` | None | `Session`, `None` | The type of the affinity that makes the request come to the same pod replica that was responding to the previous request. Set `session-affinity` to Cookie to enable session affinity. In the portal only, you must choose the enable session affinity box. |
25+
| `session-max-age` | `session-cookie-max-age` | 0 | \[0, 604800\] | The time in seconds until the cookie expires, corresponding to the `Max-Age` cookie directive. If you set `session-max-age` to 0, the expiration period is equal to the browser session period. |
26+
| `backend-protocol` | `backend-protocol` | Default | Default, `GRPC` | Sets the backend protocol to indicate how NGINX should communicate with the backend service. Default means HTTP/HTTPS/WebSocket. The `backend-protocol` setting only applies to client-to-app traffic. For app-to-app traffic within the same service instance, choose any protocol for app-to-app traffic without modifying the `backend-protocol` setting. The protocol doesn't restrict your choice of protocol for app-to-app traffic within the same service instance. |
27+
| `client-auth` | `client-auth` | 0 selected | - | Select the certificates with the public key you uploaded in the TLS/SSL settings. Ingress concatenates these certificates into one and then uses it for client authentication. |
2828

2929
## Prerequisites
3030

@@ -55,7 +55,7 @@ az spring app create \
5555
```
5656

5757
> [!NOTE]
58-
> the **cert-id** is in the format of `/subscriptions/<your-sub-id>/resourceGroups/<resource-group-name>/providers/Microsoft.AppPlatform/Spring/<service-name>/certificates/<cert-name>`, you can use the command `az spring certificate show -s <service-name> -g <resource-group-name> -n <cert-name> --query id` to get cert id.
58+
> the `cert-id` value is in the format `/subscriptions/<your-sub-id>/resourceGroups/<resource-group-name>/providers/Microsoft.AppPlatform/Spring/<service-name>/certificates/<cert-name>`. To get the `cert-id` value, use the following command: `az spring certificate show --service <service-instance-name> --resource-group <resource-group-name> --name <certificate-name> --query id`
5959
6060
This command creates an app with the following settings:
6161

@@ -121,7 +121,7 @@ This command updates the app with the following settings:
121121

122122
- What is the difference between ingress config and ingress settings?
123123

124-
Ingress config can still be used in the Azure CLI and SDK, and that setting applies to all apps within the service instance. Once ingress settings configured an app, the Ingress config can't affect it. We don't recommend that new scripts use ingress config since we plan to stop supporting it in the future.
124+
Ingress config can still be used in the Azure CLI and SDK, and that setting applies to all apps within the service instance. After ingress settings configure an app, the Ingress config can't affect it. We don't recommend that new scripts use ingress config since we plan to stop supporting it in the future.
125125

126126
- When ingress settings are used together with App Gateway/APIM, what happens when you set the timeout in both Azure Spring Apps ingress and the App Gateway/APIM?
127127

0 commit comments

Comments
 (0)