Merge pull request #2171 from bt90/patch-1

Map 443/udp to allow HTTP3
This commit is contained in:
yosifkit 2022-08-09 15:55:09 -07:00 committed by GitHub
commit 8fda8ed650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ $ docker run -d -p 80:80 \
The default `Caddyfile` only listens to port `80`, and does not set up automatic TLS. However, if you have a domain name for your site, and its A/AAAA DNS records are properly pointed to this machine's public IP, then you can use this command to simply serve a site over HTTPS:
```console
$ docker run -d -p 80:80 -p 443:443 \
$ docker run -d -p 80:80 -p 443:443 -p 443:443/udp \
-v /site:/srv \
-v caddy_data:/data \
-v caddy_config:/config \
@ -123,6 +123,7 @@ services:
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- $PWD/site:/srv