From 7130f18218824622799be34735a796bf2cc65c9c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 18 Jun 2018 10:40:41 +0200 Subject: logging --- custom/ymir-nginx.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index d9f671fe..65f0f44d 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -49,7 +49,8 @@ in { default_type application/octet-stream; log_format main - '$remote_addr - $remote_user [$time_local] ' + '$server_name' + '$remote_addr $remote_user' '"$request" $status $bytes_sent ' '"$http_referer" "$http_user_agent" ' '"$gzip_ratio"'; -- cgit v1.2.3