diff --git a/nixos/hosts/ingress-proxy/default.nix b/nixos/hosts/ingress-proxy/default.nix index 991ca18..66359ac 100644 --- a/nixos/hosts/ingress-proxy/default.nix +++ b/nixos/hosts/ingress-proxy/default.nix @@ -28,6 +28,8 @@ in { "mx.sapphic.engineer" = { forceSSL = true; enableACME = true; + http2 = true; + http3 = true; listen = [ { addr = "0.0.0.0"; port = 443; ssl = true; } @@ -54,6 +56,8 @@ in { "happ.ystatic.buzz" = { forceSSL = true; enableACME = true; + http2 = true; + http3 = true; locations."/" = { proxyPass = "http://hsb"; @@ -69,11 +73,29 @@ in { ''; }; + "mekanoe.com" = { + http2 = true; + http3 = true; + forceSSL = true; + enableACME = true; + + locations."/".root = pkgs.stdenvNoCC.mkDerivation { + name = "mekanoe.com"; + src = builtins.fetchGit { + url = "https://codeberg.org/noe/personal-site.git"; + ref = "main"; + }; + installPhase = "cp -r $src $out"; + }; + }; + # Generic store for /.well-known/ paths. "well-known.sapphic.engineer" = { #serverAliases = [ "sapphic.engineer" ]; forceSSL = false; enableACME = true; + http2 = true; + http3 = true; locations."=/.well-known/matrix/server" = let alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON {