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

This commit is contained in:
Franck Nijhof 2021-08-12 00:49:20 +02:00 committed by GitHub
parent a1e5cae104
commit 5dd77e2c76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,11 +27,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 /dev/stdout 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;