Skip to content

Commit 21f235c

Browse files
committed
Merge branch '6.2.x'
2 parents 22c672a + 562157d commit 21f235c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework-docs/modules/ROOT/partials/web/forwarded-headers.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ to inform the server that the original port was `443`.
3838
==== X-Forwarded-Proto
3939

4040
While not standard, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto[`X-Forwarded-Proto: (https|http)`]
41-
is a de-facto standard header that is used to communicate the original protocol (for example, https / https)
41+
is a de-facto standard header that is used to communicate the original protocol (for example, https / http)
4242
to a downstream server. For example, if a request of `https://example.com/resource` is sent to
4343
a proxy which forwards the request to `http://localhost:8080/resource`, then a header of
4444
`X-Forwarded-Proto: https` can be sent to inform the server that the original protocol was `https`.
@@ -119,4 +119,4 @@ https://example.com/api/app1/{path} -> http://localhost:8080/app1/{path}
119119

120120
In this case, the proxy has a prefix of `/api/app1` and the server has a prefix of
121121
`/app1`. The proxy can send `X-Forwarded-Prefix: /api/app1` to have the original prefix
122-
`/api/app1` override the server prefix `/app1`.
122+
`/api/app1` override the server prefix `/app1`.

0 commit comments

Comments
 (0)