dnt-guide icon indicating copy to clipboard operation
dnt-guide copied to clipboard

Alternate nginx configuration

Open starchy opened this issue 7 years ago • 0 comments

Following up on @alanton's request to record a configuration we've used at EFF in an issue:

log_format main '[$time_local] $status "$request" $body_bytes_sent "$http_user_agent" $geoip_country_code DNT:$http_DNT';
access_log /var/log/nginx/access.log main;

With a slightly different logrotate formula:

/var/log/nginx/*.log { daily rotate 7 ... }

starchy avatar Nov 09 '17 22:11 starchy