Browse Source

Merge branch '2.6.x' into 2.7.x

Closes gh-31974
pull/32861/head
Andy Wilkinson 4 years ago
parent
commit
3e6b4e68ad
  1. 1
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc

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

@ -222,6 +222,7 @@ You can enable HTTP/2 support in your Spring Boot application with the configpro @@ -222,6 +222,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 <<howto.webserver.use-behind-a-proxy-server,running behind a proxy server>> 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.

Loading…
Cancel
Save