Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme.md with example docker compose #130

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,15 @@ Building an image:
docker pull ghcr.io/macbre/nginx-http3:latest
DOCKER_BUILDKIT=1 docker build . -t macbre/nginx --cache-from=ghcr.io/macbre/nginx-http3:latest --progress=plain
```

Docker Compose example , it is necessary to expose through UDP as well as TCP to obtain HTTP/3
macbre marked this conversation as resolved.
Show resolved Hide resolved

```
macbre marked this conversation as resolved.
Show resolved Hide resolved
nginx:
image: macbre/nginx-http3
ports:
- '443:443/tcp'
- '443:443/udp' # use UDP for usage of HTTP/3
```

Note : ports in TCP and UDP to expose HTTP/3 they must be the same
macbre marked this conversation as resolved.
Show resolved Hide resolved