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}:/"; }; };