You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-configure-enterprise-spring-cloud-gateway.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,15 +262,15 @@ req.send();
262
262
263
263
Cross-origin resource sharing (CORS) allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served. The available CORS configuration options are described in the following table.
| `allowedOrigins` | Allowed origins to make cross-site requests. |
268
+
| `allowedOriginPatterns` | Allowed origin patterns to make cross-site requests. |
269
+
| `allowedMethods` | Allowed HTTP methods on cross-site requests. |
270
+
| `allowedHeaders` | Allowed headers in cross-site request. |
271
+
| `maxAge` | How long, in seconds, clients cache the response from a preflight request. |
272
+
| `allowCredentials` | Whether user credentials are supported on cross-site requests. |
273
+
| `exposedHeaders` | HTTP response headers to expose for cross-site requests. |
274
274
275
275
> [!NOTE]
276
276
> Be sure you have the correct CORS configuration if you want to integrate with API portal. For more information, see the [Configure Spring Cloud Gateway](#configure-spring-cloud-gateway) section.
@@ -420,7 +420,7 @@ For information on the available metrics, see the [User metrics options](./conce
420
420
421
421
## Configure environment variables
422
422
423
-
SpringCloudGateway is managed and tuned by the AzureSpringApps service. Exceptfor the use cases that configure application performance monitoring and the log level, you don't normally need to configure it with environment variables. But if you do have requirements that you can't fulfill by other configurations described in this article, you can try to configure the environment variables shown in the [Common application properties](https://cloud.spring.io/spring-cloud-gateway/reference/html/appendix.html#common-application-properties) list. Be sure to verify your configuration in your test environment before applying it to your production environment.
423
+
TheAzureSpringApps service manages and tunes SpringCloudGateway. Exceptfor the use cases that configure application performance monitoring and the log level, you don't normally need to configure it with environment variables. But if you do have requirements that you can't fulfill by other configurations described in this article, you can try to configure the environment variables shown in the [Common application properties](https://cloud.spring.io/spring-cloud-gateway/reference/html/appendix.html#common-application-properties) list. Be sure to verify your configuration in your test environment before applying it to your production environment.
424
424
425
425
#### [Azure portal](#tab/Azure-portal)
426
426
@@ -522,8 +522,8 @@ You can configure the log levels of Spring Cloud Gateway in the following ways t
522
522
-Thedefault log level forSpringCloudGateway is `INFO`.
523
523
-You can set log levels to `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `OFF`.
524
524
-You can turn off logs by setting log levels to `OFF`.
525
-
-When log levels are set to `WARN`, `ERROR`, `OFF`, you may be required to adjust it to `INFO` when requesting support from the AzureSpringApps team. This change will cause a restart of SpringCloudGateway.
526
-
-When log levels are set to `TRACE` or `DEBUG`, it may impact the performance of SpringCloudGateway. Try avoid these settings in your production environment.
525
+
-When log levels are set to `WARN`, `ERROR`, `OFF`, you may be required to adjust it to `INFO` when requesting support from the AzureSpringApps team. This change causes a restart of SpringCloudGateway.
526
+
-When log levels are set to `TRACE` or `DEBUG`, it may affect the performance of SpringCloudGateway. Try avoid these settings in your production environment.
527
527
-You can set log levels for the `root` logger or specific loggers like `io.pivotal.spring.cloud.gateway`.
528
528
529
529
The following loggers may contain valuable troubleshooting information at the `TRACE` and `DEBUG` levels:
@@ -574,7 +574,7 @@ If the log level is sensitive information in your case, you can include it by us
574
574
575
575
The addon configuration feature enables you to customize certain properties of Spring Cloud Gateway using a JSON format string. The feature is useful when you need to configure properties that aren't exposed through the RESTAPI.
576
576
577
-
The addon configuration is a JSON object with key-value paris representing the desired configuration. The following example shows the structure of the JSON format:
577
+
The addon configuration is a JSON object with key-value pairs representing the desired configuration. The following example shows the structure of the JSON format:
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-enterprise-deploy-app-at-scale.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ When you deploy Azure Spring Apps in an Azure virtual network, you need to confi
24
24
25
25
To avoid this problem, you should reserve subnet ranges that are large enough to support the number of application instances. For subnets, Azure reserves five IP addresses, and Azure Spring Apps requires at least three IP addresses. We recommend that you reserve at least the `/24` subnet ranges for the apps subnet.
26
26
27
-
For more information about how deploy an Azure Spring Apps instance in your virtual network, see [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
27
+
For more information about how to deploy an Azure Spring Apps instance in your virtual network, see [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
0 commit comments