Skip to content

violetagg/spring-cloud-gateway-http3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example for configuring HTTP/3 in Spring Cloud Gateway application

Prerequisites

Configure Reactor Netty version

Bump Reactor BOM version in pom.xml

<properties>
	<reactor-bom.version>2024.0.0</reactor-bom.version>
</properties>

Add dependency to Netty Http3 Codec

In pom.xml add dependency to netty-incubator-codec-http3

<dependency>
	<groupId>io.netty.incubator</groupId>
	<artifactId>netty-incubator-codec-http3</artifactId>
	<version>0.0.28.Final</version>
	<scope>runtime</scope>
</dependency>

Configure SSL Bundle

In application.yml add the SSL configuration

ssl:
  bundle:
    jks:
      server-http3:
        key:
          alias: http3
        keystore: ...

More information about SSL Bundle settings:

Available endpoints

Remote Endpoint

curl --http3 https://localhost:8443/ -v 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages