Skip to content

Commit b84b38f

Browse files
committed
Add h2c to https proxying
Add h2c to https proxying
1 parent fd09f33 commit b84b38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caddy/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func (c *caddyServer) buildConfig(apps []candy.App) *caddy.Config {
144144
httpsServer := &caddyhttp.Server{
145145
Routes: caddyRoutes(
146146
reverseproxy.HTTPTransport{
147-
Versions: []string{"1.1", "2"},
147+
Versions: []string{"1.1", "2", "h2c"},
148148
},
149149
apps,
150150
),

0 commit comments

Comments
 (0)