From 9fb840cb2a3202d77449719603a271a4f6cf8a04 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Thu, 27 Jan 2022 23:20:05 +0100 Subject: [PATCH] move access_log to a valid location in the config --- nginx.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.nix b/nginx.nix index 2b265bb..3892f23 100644 --- a/nginx.nix +++ b/nginx.nix @@ -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}:/"; }; };