blob: 9cf581292911dd755c0fca0d1dbd9595e7d49019 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# The Nginx HTTP server
## Check config syntax
nginx -t
## Logs
Specify separate logging file for given server
access_log /var/log/nginx/blog/access.log;
To set up rotating/compressed logs, use `logrotate`. Config in
`/etc/logrotate.d/nginx`. Run the following to reload config:
logrotate -v -f /etc/logrotate.d/nginx
|