diff --git a/dns/dnsconfig.js b/dns/dnsconfig.js index 134458e..8a33d84 100644 --- a/dns/dnsconfig.js +++ b/dns/dnsconfig.js @@ -148,7 +148,7 @@ D("radicle.dev", REG_NONE, DnsProvider(DSP_CLOUDFLARE), A("seed", "65.108.87.205"), AAAA("seed", "2a01:4f9:c011:b666::1"), - HTTPS("seed", 1, ".", "alpn=\"h2,h3\" ipv4hint=65.108.87.205 ipv6hint=2a01:4f9:c011:b666::1"), + HTTPS("seed", 1, ".", "alpn=\"h3\" ipv4hint=65.108.87.205 ipv6hint=2a01:4f9:c011:b666::1"), SSHFP("seed", 4, 2, "ac7db28d3d05c52f3e2d67adca4654ce6766a1e8d7b6fab4c03b25ab435a613d"), SSHFP("seed", 4, 1, "9033b89019264dbad5a744057166a5e1b7af92f7"), @@ -201,7 +201,7 @@ D("radicle.network", REG_NONE, DnsProvider(DSP_CLOUDFLARE), A("iris", "95.217.156.6", TTL("10m")), AAAA("iris", "2a01:4f9:c010:dfaa::1", TTL("10m")), - HTTPS("iris", 1, ".", "alpn=\"h2\""), + // HTTPS("iris", 1, ".", "alpn=\"h2\""), SSHFP("iris", 4, 1, "1ffe43af8f30c34373515fa24f1b9fe69532a9d5"), SSHFP("iris", 4, 2, "715ce29a1ccdd7088b9fb40949ca186e736ff6d711163689560ffe54252c9d43"), CNAME("_acme-challenge.iris", "_acme-challenge.iris-network.radicle.garden."), @@ -214,7 +214,7 @@ D("radicle.network", REG_NONE, DnsProvider(DSP_CLOUDFLARE), A("rosa", "5.161.85.124", TTL("10m")), AAAA("rosa", "2a01:4ff:f0:abd3::1", TTL("10m")), - HTTPS("rosa", 1, ".", "alpn=\"h2\""), + // HTTPS("rosa", 1, ".", "alpn=\"h2\""), SSHFP("rosa", 4, 1, "6ee4b941f49ece1601e238344f088f5a83712b91"), SSHFP("rosa", 4, 2, "e2364a3e0f7728eaa53d40543f15e7c23409fe06e5b08c55d8f63ee00e963b0b"), CNAME("_acme-challenge.rosa", "_acme-challenge.rosa-network.radicle.garden."), diff --git a/os/host/dev/seed/attic.nix b/os/host/dev/seed/attic.nix index 562cf1e..bb00f0e 100644 --- a/os/host/dev/seed/attic.nix +++ b/os/host/dev/seed/attic.nix @@ -1,4 +1,8 @@ -{config, ...}: let +{ + config, + lib, + ... +}: let domain = "attic.radicle.dev"; port = 54862; secret = "atticd.env"; @@ -30,6 +34,7 @@ in { nginx.virtualHosts.${domain} = { enableACME = true; forceSSL = true; + http2 = lib.mkForce false; quic = true; serverName = domain; @@ -48,6 +53,7 @@ in { enableACME = true; forceSSL = true; globalRedirect = domain; + http2 = lib.mkForce false; redirectCode = 302; }; }; diff --git a/os/host/dev/seed/bootstrap/default.nix b/os/host/dev/seed/bootstrap/default.nix index 0a0602e..38445c3 100644 --- a/os/host/dev/seed/bootstrap/default.nix +++ b/os/host/dev/seed/bootstrap/default.nix @@ -2,6 +2,7 @@ pkgs, config, inputs, + lib, ... }: { systemd = { @@ -39,6 +40,7 @@ services.nginx.virtualHosts."bootstrap.radicle.network" = { enableACME = true; forceSSL = true; + http2 = lib.mkForce false; quic = true; serverName = "bootstrap.radicle.network"; root = "/var/www/bootstrap.radicle.network"; diff --git a/os/host/dev/seed/files.nix b/os/host/dev/seed/files.nix index 32b578d..428cf14 100644 --- a/os/host/dev/seed/files.nix +++ b/os/host/dev/seed/files.nix @@ -1,4 +1,4 @@ -let +{lib, ...}: let name = { xyz = "files.radicle.xyz"; dev = "files.radicle.dev"; @@ -6,6 +6,7 @@ let in { services.nginx.virtualHosts.${name.xyz} = { globalRedirect = name.dev; + http2 = lib.mkForce false; redirectCode = 302; enableACME = true; forceSSL = true; @@ -16,6 +17,7 @@ in { }; services.nginx.virtualHosts.${name.dev} = { + http2 = lib.mkForce false; root = "/var/www/${name.dev}"; extraConfig = '' add_header 'Access-Control-Allow-Origin' '*'; diff --git a/os/host/dev/seed/grafana.nix b/os/host/dev/seed/grafana.nix index 4fd9780..823899b 100644 --- a/os/host/dev/seed/grafana.nix +++ b/os/host/dev/seed/grafana.nix @@ -1,5 +1,6 @@ { config, + lib, pkgs, ... }: let @@ -21,6 +22,7 @@ in { nginx.virtualHosts.${domain} = { enableACME = true; forceSSL = true; + http2 = lib.mkForce false; serverName = domain; locations."/" = { proxyPass = "http://127.0.0.1:${builtins.toString port}"; @@ -36,6 +38,7 @@ in { enableACME = true; forceSSL = true; globalRedirect = domain; + http2 = lib.mkForce false; redirectCode = 302; }; }; diff --git a/os/mixin/radicle-stats.nix b/os/mixin/radicle-stats.nix index c1211fa..b66bacc 100644 --- a/os/mixin/radicle-stats.nix +++ b/os/mixin/radicle-stats.nix @@ -36,5 +36,8 @@ in { ]; }; }; - services.nginx.virtualHosts.${config.networking.fqdn}.locations."/tmp/".alias = "/tmp/radicle/"; + services.nginx.virtualHosts.${config.networking.fqdn} = { + http2 = lib.mkForce false; + locations."/tmp/".alias = "/tmp/radicle/"; + }; } diff --git a/os/module/iroh-dns-server.nix b/os/module/iroh-dns-server.nix index cfe3a9b..0e81767 100644 --- a/os/module/iroh-dns-server.nix +++ b/os/module/iroh-dns-server.nix @@ -140,6 +140,7 @@ in { services.nginx.virtualHosts.${cfg.domain} = { enableACME = true; forceSSL = true; + http2 = lib.mkForce false; quic = true; locations."/".proxyPass = "http://[::1]:${builtins.toString cfg.settings.http.port}"; }; diff --git a/os/module/iroh-relay.nix b/os/module/iroh-relay.nix index 88cf26f..d6c8c64 100644 --- a/os/module/iroh-relay.nix +++ b/os/module/iroh-relay.nix @@ -150,6 +150,7 @@ in { virtualHosts.${cfg.domain} = { enableACME = true; forceSSL = true; + http2 = lib.mkForce false; quic = true; locations."/" = { proxyPass = "http://127.0.0.1:3340";