From 2d8374571b734280963a549d618c38f98da08e38 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 15 Mar 2020 22:53:00 +0800 Subject: [PATCH] nginx: put the comment back --- system/all/nginx.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/all/nginx.nix b/system/all/nginx.nix index 1f1de20..02d00e1 100644 --- a/system/all/nginx.nix +++ b/system/all/nginx.nix @@ -12,8 +12,8 @@ in { recommendedProxySettings = lib.mkDefault true; recommendedTlsSettings = lib.mkDefault true; + # for graylog logging commonHttpConfig = '' - # for graylog logging log_format graylog2_json escape=json '{ "timestamp": "$time_iso8601", ' '"facility": "nginx", ' '"src_addr": "$remote_addr", ' @@ -30,7 +30,6 @@ in { '"http_user_agent": "$http_user_agent" }'; access_log syslog:server=${access_log_sink} graylog2_json; error_log syslog:server=${error_log_sink}; - ''; };