From 591cd0feb332e4137b639e5f2dbd477e985299ea Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 3 Aug 2022 19:33:34 +0100 Subject: [PATCH] Mention TLS-terminating proxy as a usecase for h2c Closes gh-25855 --- .../spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc index 8a66937b44f0..32f036368dc7 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc @@ -213,6 +213,7 @@ You can enable HTTP/2 support in your Spring Boot application with the configpro Both `h2` (HTTP/2 over TLS) and `h2c` (HTTP/2 over TCP) are supported. To use `h2`, SSL must also be enabled. When SSL is not enabled, `h2c` will be used. +You may, for example, want to use `h2c` when your application is <> that is performing TLS termination. 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.