diff --git a/hosts/nachtigall/apps/nginx-website.nix b/hosts/nachtigall/apps/nginx-website.nix index 5ede337b..42123500 100644 --- a/hosts/nachtigall/apps/nginx-website.nix +++ b/hosts/nachtigall/apps/nginx-website.nix @@ -9,6 +9,12 @@ "www.pub.solar" = { enableACME = true; addSSL = true; + + extraConfig = '' + error_log /dev/null; + access_log /dev/null; + ''; + locations."/" = { extraConfig = '' return 301 https://pub.solar$request_uri; @@ -21,6 +27,11 @@ enableACME = true; forceSSL = true; + extraConfig = '' + error_log /dev/null; + access_log /dev/null; + ''; + locations = { # serve base domain pub.solar for mastodon.pub.solar # https://masto.host/mastodon-usernames-different-from-the-domain-used-for-installation/