Skip to content

Commit 06222c0

Browse files
authored
Merge pull request #14 from owenthereal/proxy_grpc
Add h2c to https proxying
2 parents fd09f33 + b84b38f commit 06222c0

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)