EFForg / EFForg/dnt-guide

Alternate nginx configuration

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
examples logrotate nginx
Dominant language
No language data
Stars
143
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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
...
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.