nginx: disable access log (global doesnt work...)

This commit is contained in:
Daniel Frank 2019-08-11 17:02:16 +02:00
parent eb46df56d2
commit 48760d1eb9
Signed by: tokudan
GPG key ID: 063CCCAD04182D32
3 changed files with 6 additions and 3 deletions

View file

@ -10,6 +10,9 @@ in
forceSSL = true;
enableACME = true;
root = "${hopglass-fe}";
extraConfig = ''
access_log off;
'';
locations."/" = {
extraConfig = ''
index index.html;

View file

@ -3,8 +3,5 @@
{
services.nginx = {
logError = "/dev/null";
appendConfig = ''
access_log off;
'';
};
}

View file

@ -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;";
};