Skip to content

Commit 52ea977

Browse files
authored
Small wording changes
1 parent a322cd6 commit 52ea977

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

readme.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,16 @@ docker pull ghcr.io/macbre/nginx-http3:latest
153153
DOCKER_BUILDKIT=1 docker build . -t macbre/nginx --cache-from=ghcr.io/macbre/nginx-http3:latest --progress=plain
154154
```
155155

156-
Docker Compose example , it is necessary to expose through UDP as well as TCP to obtain HTTP/3
156+
### Docker Compose example
157157

158-
```
158+
It is necessary to expose both UDP and TCP ports to be able to HTTP/3
159+
160+
```yaml
159161
nginx:
160162
image: macbre/nginx-http3
161163
ports:
162164
- '443:443/tcp'
163165
- '443:443/udp' # use UDP for usage of HTTP/3
164166
```
165167
166-
Note : ports in TCP and UDP to expose HTTP/3 they must be the same
168+
Note: both TCP and UDP HTTP/3 ports needs to be the same

0 commit comments

Comments
 (0)