Disable access log by default

It doesn't particularly matter since /var/log is a tmpfs anyway but I wanted to be clear about the piratebox and privacy
This commit is contained in:
xenia 2019-08-20 18:24:42 +00:00
parent 23b3369383
commit b9a93cbcba
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ http {
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx_access.log main;
# useful for testin. comment out for prod
#access_log /var/log/nginx_access.log main;
sendfile on;