Skip to content

Commit e60f26f

Browse files
metacubedbclozel
authored andcommitted
Polish HTTP/2 Cleartext documentation
See gh-23816 Closes gh-23820
1 parent c66ef0e commit e60f26f

File tree

1 file changed

+3
-4
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ This support depends on the chosen web server and the application environment, s
598598
[NOTE]
599599
====
600600
Spring Boot does not advise using `h2c`, the cleartext version of the HTTP/2 protocol.
601-
As a result, the next sections require to <<howto-configure-ssl, configure SSL first>>.
601+
As a result, the following sections require you to <<howto-configure-ssl, configure SSL first>>.
602602
If you still choose to use `h2c`, you can check <<howto-configure-http2-h2c, the dedicated section>>.
603603
====
604604

@@ -652,8 +652,8 @@ As of Undertow 1.4.0+, HTTP/2 is supported without any additional requirement on
652652

653653

654654
[[howto-configure-http2-h2c]]
655-
==== h2c with supported servers
656-
To enable `h2c`, you need to leave the configprop:server.http2.enabled[] property set to `false`,
655+
==== HTTP/2 Cleartext with supported servers
656+
To enable HTTP/2 with cleartext support, you need to leave the `configprop:server.http2.enabled[]` property set to `false`,
657657
and instead apply a customizer specific to your choice of server:
658658

659659
For Tomcat, we need to add an upgrade protocol:
@@ -709,7 +709,6 @@ For Undertow, we need to enable the HTTP2 option:
709709

710710

711711

712-
713712
[[howto-configure-webserver]]
714713
=== Configure the Web Server
715714
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>>`").

0 commit comments

Comments
 (0)