nginx: disable access log (global doesnt work...)
This commit is contained in:
parent
eb46df56d2
commit
48760d1eb9
|
@ -10,6 +10,9 @@ in
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = "${hopglass-fe}";
|
root = "${hopglass-fe}";
|
||||||
|
extraConfig = ''
|
||||||
|
access_log off;
|
||||||
|
'';
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
|
@ -3,8 +3,5 @@
|
||||||
{
|
{
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
logError = "/dev/null";
|
logError = "/dev/null";
|
||||||
appendConfig = ''
|
|
||||||
access_log off;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,9 @@ in
|
||||||
forceSSL = config.variables.useSSL;
|
forceSSL = config.variables.useSSL;
|
||||||
enableACME = config.variables.useSSL;
|
enableACME = config.variables.useSSL;
|
||||||
root = "${roundcube}/public_html";
|
root = "${roundcube}/public_html";
|
||||||
|
extraConfig = ''
|
||||||
|
access_log off;
|
||||||
|
'';
|
||||||
locations."~ ^/favicon.ico/.*$" = {
|
locations."~ ^/favicon.ico/.*$" = {
|
||||||
extraConfig = "try_files $uri kins/larry/images/$uri;";
|
extraConfig = "try_files $uri kins/larry/images/$uri;";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue