diff --git a/config/hosts/wind/services/akkoma.nix b/config/hosts/wind/services/akkoma.nix index 29eef63..8e29bb2 100644 --- a/config/hosts/wind/services/akkoma.nix +++ b/config/hosts/wind/services/akkoma.nix @@ -15,6 +15,9 @@ "Pleroma.Web.Endpoint" = { url.host = "fedi.graven.se"; }; + "Pleroma.Web.Webfinger" = { + domain = "graven.se"; + }; "Pleroma.Upload".filters = map (pkgs.formats.elixirConf { }).lib.mkRaw [ diff --git a/config/hosts/wind/services/nginx.nix b/config/hosts/wind/services/nginx.nix index 81b3086..b7b7b77 100644 --- a/config/hosts/wind/services/nginx.nix +++ b/config/hosts/wind/services/nginx.nix @@ -21,6 +21,12 @@ ''; }; }; + # Fedi webfinger + "graven.se" = { + enableACME = true; + forceSSL = true; + locations."/.well-known/host-meta".return = "301 https://fedi.graven.se$request_uri"; + }; "amanda.graven.dev" = { enableACME = true; forceSSL = true;