diff --git a/profiles/mastodon.nix b/profiles/mastodon.nix index 24d8d66..2ec7e8d 100644 --- a/profiles/mastodon.nix +++ b/profiles/mastodon.nix @@ -31,6 +31,8 @@ # Required to redirect requests to the mastodon service "mcwhirter.io" = { locations."/.well-known/host-meta".extraConfig = "return 301 $scheme://social.mcwhirter.io$request_uri;"; + enableACME = true; # Use ACME certs + forceSSL = true; # Force SSL }; "social.mcwhirter.io" = { enableACME = true; # Use ACME certs