Skip to content

Commit 2d6a54a

Browse files
committed
Comment out QUIC listeners and update readme
1 parent 56ff1d5 commit 2d6a54a

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ This will *ask* Google et al not to index and list your site. Be careful with th
142142
* Proxy sample files WILL be updated, however your renamed (enabled) proxy files will not.
143143
* You can check the new sample and adjust your active config as needed.
144144

145+
### QUIC support
146+
147+
This image supports QUIC (also known as HTTP/3) but it must be explicitly enabled in each proxy conf, and the default conf, because if the listener is enabled and you don't expose 443/UDP, it can break connections with some browsers.
148+
149+
To enable QUIC, expose 443/UDP to your clients, then uncomment both QUIC listeners in all of your active proxy confs, as well as the default conf, and restart the container.
150+
145151
### Migration from the old `linuxserver/letsencrypt` image
146152

147153
Please follow the instructions [on this blog post](https://www.linuxserver.io/blog/2020-08-21-introducing-swag#migrate).
@@ -194,6 +200,7 @@ services:
194200
ports:
195201
- 443:443
196202
- 80:80 #optional
203+
- 443/udp:443/udp #optional
197204
restart: unless-stopped
198205
```
199206
@@ -221,6 +228,7 @@ docker run -d \
221228
-e SWAG_AUTORELOAD_WATCHLIST= `#optional` \
222229
-p 443:443 \
223230
-p 80:80 `#optional` \
231+
-p 443/udp:443/udp `#optional` \
224232
-v /path/to/swag/config:/config \
225233
--restart unless-stopped \
226234
lscr.io/linuxserver/swag:latest
@@ -234,6 +242,7 @@ Containers are configured using parameters passed at runtime (such as those abov
234242
| :----: | --- |
235243
| `-p 443:443` | HTTPS port |
236244
| `-p 80` | HTTP port (required for HTTP validation and HTTP -> HTTPS redirect) |
245+
| `-p 443/udp` | QUIC (HTTP/3) port. Must be enabled in the default and proxy confs. |
237246
| `-e PUID=1000` | for UserID - see below for explanation |
238247
| `-e PGID=1000` | for GroupID - see below for explanation |
239248
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |

readme-vars.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ opt_param_env_vars:
4444
opt_param_usage_include_ports: true
4545
opt_param_ports:
4646
- {external_port: "80", internal_port: "80", port_desc: "HTTP port (required for HTTP validation and HTTP -> HTTPS redirect)"}
47+
- {external_port: "443/udp", internal_port: "443/udp", port_desc: "QUIC (HTTP/3) port. Must be enabled in the default and proxy confs."}
4748
readonly_supported: true
4849
readonly_message: |
4950
* `/tmp` must be mounted to tmpfs
@@ -138,6 +139,12 @@ app_setup_block: |
138139
* Proxy sample files WILL be updated, however your renamed (enabled) proxy files will not.
139140
* You can check the new sample and adjust your active config as needed.
140141
142+
### QUIC support
143+
144+
This image supports QUIC (also known as HTTP/3) but it must be explicitly enabled in each proxy conf, and the default conf, because if the listener is enabled and you don't expose 443/UDP, it can break connections with some browsers.
145+
146+
To enable QUIC, expose 443/UDP to your clients, then uncomment both QUIC listeners in all of your active proxy confs, as well as the default conf, and restart the container.
147+
141148
### Migration from the old `linuxserver/letsencrypt` image
142149
143150
Please follow the instructions [on this blog post](https://www.linuxserver.io/blog/2020-08-21-introducing-swag#migrate).
@@ -207,7 +214,7 @@ init_diagram: |
207214
"swag:latest" <- Base Images
208215
# changelog
209216
changelogs:
210-
- {date: "09.07.25:", desc: "Rebase to Alpine 3.22 with PHP 8.4. Add QUIC support. Drop PHP bindings for mcrypt as it is no longer maintained."}
217+
- {date: "18.07.25:", desc: "Rebase to Alpine 3.22 with PHP 8.4. Add QUIC support. Drop PHP bindings for mcrypt as it is no longer maintained."}
211218
- {date: "05.05.25:", desc: "Disable Certbot's built in log rotation."}
212219
- {date: "19.01.25:", desc: "Add [Auto Reload](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) functionality to SWAG."}
213220
- {date: "17.12.24:", desc: "Rebase to Alpine 3.21."}

root/defaults/nginx/site-confs/default.conf.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2025/07/09 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
1+
## Version 2025/07/18 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
22

33
# redirect all traffic to https
44
server {
@@ -13,9 +13,9 @@ server {
1313
# main server block
1414
server {
1515
listen 443 ssl default_server;
16+
# listen 443 quic reuseport default_server;
1617
listen [::]:443 ssl default_server;
17-
listen 443 quic reuseport default_server;
18-
listen [::]:443 quic reuseport default_server;
18+
# listen [::]:443 quic reuseport default_server;
1919

2020
server_name _;
2121

0 commit comments

Comments
 (0)