diff --git a/hopglass-frontend.nix b/hopglass-frontend.nix index 9c5890f..26e4b4c 100644 --- a/hopglass-frontend.nix +++ b/hopglass-frontend.nix @@ -10,6 +10,9 @@ in forceSSL = true; enableACME = true; root = "${hopglass-fe}"; + extraConfig = '' + access_log off; + ''; locations."/" = { extraConfig = '' index index.html; diff --git a/nginx.nix b/nginx.nix index d57f0bf..38a1546 100644 --- a/nginx.nix +++ b/nginx.nix @@ -3,8 +3,5 @@ { services.nginx = { logError = "/dev/null"; - appendConfig = '' - access_log off; - ''; }; } diff --git a/roundcube.nix b/roundcube.nix index 255ef69..154a979 100644 --- a/roundcube.nix +++ b/roundcube.nix @@ -31,6 +31,9 @@ in forceSSL = config.variables.useSSL; enableACME = config.variables.useSSL; root = "${roundcube}/public_html"; + extraConfig = '' + access_log off; + ''; locations."~ ^/favicon.ico/.*$" = { extraConfig = "try_files $uri kins/larry/images/$uri;"; };