Polish HTTP/2 Cleartext documentation

See gh-23816
Closes gh-23820
This commit is contained in:
Pushkaraj S 2020-10-22 21:05:46 -07:00 committed by Brian Clozel
parent c66ef0eb3f
commit e60f26f8cc
1 changed files with 3 additions and 4 deletions

View File

@ -598,7 +598,7 @@ This support depends on the chosen web server and the application environment, s
[NOTE]
====
Spring Boot does not advise using `h2c`, the cleartext version of the HTTP/2 protocol.
As a result, the next sections require to <<howto-configure-ssl, configure SSL first>>.
As a result, the following sections require you to <<howto-configure-ssl, configure SSL first>>.
If you still choose to use `h2c`, you can check <<howto-configure-http2-h2c, the dedicated section>>.
====
@ -652,8 +652,8 @@ As of Undertow 1.4.0+, HTTP/2 is supported without any additional requirement on
[[howto-configure-http2-h2c]]
==== h2c with supported servers
To enable `h2c`, you need to leave the configprop:server.http2.enabled[] property set to `false`,
==== HTTP/2 Cleartext with supported servers
To enable HTTP/2 with cleartext support, you need to leave the `configprop:server.http2.enabled[]` property set to `false`,
and instead apply a customizer specific to your choice of server:
For Tomcat, we need to add an upgrade protocol:
@ -709,7 +709,6 @@ For Undertow, we need to enable the HTTP2 option:
[[howto-configure-webserver]]
=== Configure the Web Server
Generally, you should first consider using one of the many available configuration keys and customize your web server by adding new entries in your `application.properties` (or `application.yml`, or environment, etc. see "`<<howto-discover-build-in-options-for-external-properties>>`").