mastodon: added SSL settings

This commit is contained in:
Serĉanto de Scio 2024-05-22 21:54:26 +10:00
parent b4113339bf
commit 4e59145aed
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -31,6 +31,8 @@
# Required to redirect requests to the mastodon service # Required to redirect requests to the mastodon service
"mcwhirter.io" = { "mcwhirter.io" = {
locations."/.well-known/host-meta".extraConfig = "return 301 $scheme://social.mcwhirter.io$request_uri;"; 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" = { "social.mcwhirter.io" = {
enableACME = true; # Use ACME certs enableACME = true; # Use ACME certs