🔥 Less logging by removing access log from log ouput (#129)

This commit is contained in:
Franck Nijhof 2021-08-11 20:02:57 +02:00 committed by GitHub
parent b443a922b8
commit 67c8636e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,7 @@ events {
http { http {
include /etc/nginx/includes/mime.types; include /etc/nginx/includes/mime.types;
log_format homeassistant '[$time_local] $status ' access_log off;
'$http_x_forwarded_for($remote_addr) '
'$request ($http_user_agent)';
access_log /proc/1/fd/1 homeassistant;
client_max_body_size 4G; client_max_body_size 4G;
default_type application/octet-stream; default_type application/octet-stream;
gzip on; gzip on;