move access_log to a valid location in the config
This commit is contained in:
parent
91b0f47f66
commit
9fb840cb2a
|
@ -4,9 +4,6 @@
|
|||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
appendConfig = ''
|
||||
access_log off;
|
||||
'';
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
@ -14,6 +11,9 @@
|
|||
default = true;
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
access_log off;
|
||||
'';
|
||||
locations."/".proxyPass = "http://unix:${config.services.grafana.socket}:/";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue