diff --git a/hosts/nachtigall/apps/nginx-website-miom.nix b/hosts/nachtigall/apps/nginx-website-miom.nix index 8d5fe61..126886d 100644 --- a/hosts/nachtigall/apps/nginx-website-miom.nix +++ b/hosts/nachtigall/apps/nginx-website-miom.nix @@ -9,6 +9,12 @@ "www.miom.space" = { enableACME = true; addSSL = true; + + extraConfig = '' + error_log /dev/null; + access_log /dev/null; + ''; + locations."/" = { extraConfig = '' return 301 https://miom.space$request_uri; @@ -21,6 +27,11 @@ enableACME = true; forceSSL = true; + extraConfig = '' + error_log /dev/null; + access_log /dev/null; + ''; + locations = { "/" = { root = "/srv/www/miom.space";