Skip to content

Commit 4b4b721

Browse files
z0rrntonyo
andauthored
feat(uc/caddy): expose 443/udp port for HTTP3 (#204)
* feat(caddy): expose 443/udp port for HTTP3 * expose udp port 443 for caddy to support new HTTP3 * chore: Add comment for HTTP/3 (QUIC) port configuration Added a comment to clarify the purpose of the UDP port configuration. --------- Co-authored-by: Anton Ovchinnikov <[email protected]>
1 parent 6373d40 commit 4b4b721

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/client/caddy.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ func (cli *Client) NewCaddyDeployment(image, config string, placement api.Placem
7171
Protocol: api.ProtocolTCP,
7272
Mode: api.PortModeHost,
7373
},
74+
// Needed for HTTP/3 (QUIC)
75+
{
76+
PublishedPort: 443,
77+
ContainerPort: 443,
78+
Protocol: api.ProtocolUDP,
79+
Mode: api.PortModeHost,
80+
},
7481
},
7582
Volumes: []api.VolumeSpec{
7683
{

0 commit comments

Comments
 (0)