1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-07 04:24:10 +01:00
infrastructure/roles/archweb/templates
Kristian Klausen 8dfa7e8c3e
nginx: Add plumbing for enabling HTTP/3 conditionally
We want to roll out HTTP/3 slowly, so this adds the necessary plumbing
and makes it possible to enable it per host.

Instead of adding the conditional logic to each nginx template, the 443
listen config is moved out into a snippet which is managed by the nginx
role.

HTTP/3 uses QUIC which is built on UDP. UDP is connectionless and
therefore reuseport[1][2] must be used to ensure that UDP packets for
the same QUIC connection is directed to the same worker. reuseport can
only be enabled once, so a default_server is added to the
"inventory_hostname vhost" for SSL/QUIC (reuseport is only enabled for
the latter). ssl_reject_handshake[3] is enabled as that allows enabling
SSL/QUIC without specifying a certificate.

[1] https://nginx.org/en/docs/http/ngx_http_core_module.html#listen
[2] https://lwn.net/Articles/542629/
[3] http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_reject_handshake

Ref #606
2024-08-17 21:53:32 +02:00
..
archweb-memcached.service.j2 Raise memcached object size memory limit for sitemaps 2021-09-30 09:19:36 +02:00
archweb-mirrorcheck.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-mirrorcheck.timer.j2 archweb: Randomize mirror check over 1 hour 2017-09-07 13:03:24 +02:00
archweb-mirrorresolv.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-mirrorresolv.timer.j2 roles/archweb: Add mirrorresolv service and timer running twice a day. 2017-01-02 17:38:07 -02:00
archweb-pgp_import-pacman-hook.j2 roles/archweb: Create a pgp_import service and a pacman hook to run when archlinux-keyring is updated 2016-12-28 18:49:40 -02:00
archweb-pgp_import.service.j2 roles/archweb: New database defaults and corresponding vault changes 2016-12-29 00:07:34 -02:00
archweb-planet.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-planet.timer.j2 archweb: add planet functionality related service/timers 2020-02-13 23:33:54 +01:00
archweb-populate_signoffs.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-populate_signoffs.timer.j2 roles/archweb: Added the populate_signoffs service running once every 20 minutes. 2017-01-02 18:34:24 -02:00
archweb-readlinks.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-rebuilderd.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-rebuilderd.timer.j2 Update the 2020-06-29 release with rebuilderd integration 2020-06-29 17:58:02 +02:00
archweb-reporead.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-rsync_iso.service.j2 Add Wants=network-online.target to a few services 2021-08-28 14:42:41 +03:00
archweb-rsync_iso.timer.j2 roles/archweb: Added missing defaults and also added a rsync service to sync the isos from orion. 2017-01-02 19:04:59 -02:00
archweb.ini.j2 Archweb Python 3 migration 2019-02-08 16:50:26 +01:00
donor_import_wrapper.sh.j2 fix environment variables for automatic donor import 2020-12-31 01:57:01 +01:00
ipxe.archlinux.org.j2 nginx: Add plumbing for enabling HTTP/3 conditionally 2024-08-17 21:53:32 +02:00
local_settings.py.j2 archweb: enable Prometheus metrics for requests 2024-07-29 21:24:27 +02:00
maintenance-nginx.d.conf.j2 nginx: Add plumbing for enabling HTTP/3 conditionally 2024-08-17 21:53:32 +02:00
nginx.d.conf.j2 nginx: Add plumbing for enabling HTTP/3 conditionally 2024-08-17 21:53:32 +02:00
sudoers-fetchmail-archweb.j2 fix environment variables for automatic donor import 2020-12-31 01:57:01 +01:00