nginx: disable access log (global doesnt work...)
This commit is contained in:
parent
eb46df56d2
commit
48760d1eb9
|
@ -10,6 +10,9 @@ in
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "${hopglass-fe}";
|
||||
extraConfig = ''
|
||||
access_log off;
|
||||
'';
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
index index.html;
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
{
|
||||
services.nginx = {
|
||||
logError = "/dev/null";
|
||||
appendConfig = ''
|
||||
access_log off;
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue