From 4e59145aed46b694e7713302dab17981fb3f6461 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 22 May 2024 21:54:26 +1000 Subject: [PATCH] mastodon: added SSL settings --- profiles/mastodon.nix | 2 ++ 1 file changed, 2 insertions(+) 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