Merge pull request #205358 from farcaller/patch-3

This commit is contained in:
Naïm Favier 2022-12-10 16:00:28 +01:00 committed by GitHub
commit bd07f70e55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -658,8 +658,9 @@ in {
recommendedProxySettings = true; # required for redirections to work
virtualHosts."${cfg.localDomain}" = {
root = "${cfg.package}/public/";
forceSSL = true; # mastodon only supports https
enableACME = true;
# mastodon only supports https, but you can override this if you offload tls elsewhere.
forceSSL = lib.mkDefault true;
enableACME = lib.mkDefault true;
locations."/system/".alias = "/var/lib/mastodon/public-system/";