We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 547443f + 52ea977 commit f27b9a8Copy full SHA for f27b9a8
readme.md
@@ -152,3 +152,17 @@ Building an image:
152
docker pull ghcr.io/macbre/nginx-http3:latest
153
DOCKER_BUILDKIT=1 docker build . -t macbre/nginx --cache-from=ghcr.io/macbre/nginx-http3:latest --progress=plain
154
```
155
+
156
+### Docker Compose example
157
158
+It is necessary to expose both UDP and TCP ports to be able to HTTP/3
159
160
+```yaml
161
+ nginx:
162
+ image: macbre/nginx-http3
163
+ ports:
164
+ - '443:443/tcp'
165
+ - '443:443/udp' # use UDP for usage of HTTP/3
166
+```
167
168
+Note: both TCP and UDP HTTP/3 ports needs to be the same
0 commit comments