mastodon: added SSL settings
This commit is contained in:
parent
b4113339bf
commit
4e59145aed
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue