Skip to content

Commit 591cd0f

Browse files
committed
Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
1 parent fa73b73 commit 591cd0f

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ You can enable HTTP/2 support in your Spring Boot application with the configpro
213213
Both `h2` (HTTP/2 over TLS) and `h2c` (HTTP/2 over TCP) are supported.
214214
To use `h2`, SSL must also be enabled.
215215
When SSL is not enabled, `h2c` will be used.
216+
You may, for example, want to use `h2c` when your application is <<howto.webserver.use-behind-a-proxy-server,running behind a proxy server>> that is performing TLS termination.
216217
The details of the `h2` support depend on the chosen web server and the application environment, since that protocol is not supported out-of-the-box by all JDK 8 releases.
217218

218219

0 commit comments

Comments
 (0)