Skip to content

Commit 6175cd3

Browse files
committed
refine doc
1 parent c459976 commit 6175cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/spring-apps/how-to-use-enterprise-spring-cloud-gateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The route config definition includes the following parts:
125125

126126
- OpenAPI URI: The URI points to an OpenAPI specification. Both OpenAPI 2.0 and OpenAPI 3.0 specs are supported. The specification can be shown in API portal to try out. Two types of URI are accepted. The first type of URI is a public endpoint like `https://petstore3.swagger.io/api/v3/openapi.json`. The second type of URI is a constructed URL `http://<app-name>/{relative-path-to-OpenAPI-spec}`, where `app-name` is the name of an application in Azure Spring Apps that includes the API definition.
127127
- routes: A list of route rules about how the traffic goes to one app.
128-
- protocol: The backend protocol of app which gateway routes traffic to. The supported value of it is `HTTP` or `HTTPS`, and the default value is `HTTP`. To secure traffic from gateway to applications that support HTTPS, you need to set protocol to `HTTPS` in the route config.
128+
- protocol: The backend protocol of the application to which Spring Cloud Gateway routes traffic. Its supported values are `HTTP` or `HTTPS`, the default is `HTTP`. To secure traffic from Spring Cloud Gateway to your HTTPS-enabled application, you need to set the protocol to `HTTPS` in your route configuration.
129129

130130
Use the following command to create a route config. The `--app-name` value should be the name of an app hosted in Azure Spring Apps that the requests will route to.
131131

0 commit comments

Comments
 (0)