Skip to content

Commit 64f59ed

Browse files
authored
Revert "Add protocol to support TLS between gateway and apps"
1 parent 1f75e66 commit 64f59ed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ 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 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.
129128

130129
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.
131130

@@ -143,7 +142,6 @@ Here's a sample of the JSON file that is passed to the `--routes-file` parameter
143142
"open_api": {
144143
"uri": "<OpenAPI-URI>"
145144
},
146-
"protocol": "<protocol-of-routed-app>",
147145
"routes": [
148146
{
149147
"title": "<title-of-route>",
@@ -226,7 +224,6 @@ Use the following steps to create an example application using Spring Cloud Gate
226224

227225
```json
228226
{
229-
"protocol": "HTTP",
230227
"routes": [
231228
{
232229
"title": "Customers service",

0 commit comments

Comments
 (0)