mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
This commit is contained in:
parent
fa73b73898
commit
591cd0feb3
@ -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 <<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…
Reference in New Issue
Block a user