From 67c8636e4ebca302facebe62a46af5819816a714 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 11 Aug 2021 20:02:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Less=20logging=20by=20removing?= =?UTF-8?q?=20access=20log=20from=20log=20ouput=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- traccar/rootfs/etc/nginx/nginx.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/traccar/rootfs/etc/nginx/nginx.conf b/traccar/rootfs/etc/nginx/nginx.conf index 22f1331..11e15c7 100644 --- a/traccar/rootfs/etc/nginx/nginx.conf +++ b/traccar/rootfs/etc/nginx/nginx.conf @@ -24,11 +24,7 @@ events { http { include /etc/nginx/includes/mime.types; - log_format homeassistant '[$time_local] $status ' - '$http_x_forwarded_for($remote_addr) ' - '$request ($http_user_agent)'; - - access_log /proc/1/fd/1 homeassistant; + access_log off; client_max_body_size 4G; default_type application/octet-stream; gzip on;