Have logfiles in standard folder

This commit is contained in:
Martin Mahner 2016-06-04 07:02:07 +00:00
parent d2341c9220
commit f604568bea
2 changed files with 3 additions and 3 deletions

View file

@ -83,8 +83,8 @@ server {
rewrite ^/(.*)$ https://dpaste.de/$1 permanent;
}
access_log /srv/dpaste.de/var/nginx.access.log combined_port;
error_log /srv/dpaste.de/var/nginx.error.log;
access_log /var/log/nginx/dpaste.access.log combined_port;
error_log /var/log/nginx/dpaste.error.log;
keepalive_timeout 5;
client_max_body_size 10M;

View file

@ -26,7 +26,7 @@
# (bzip2 compressed file), it will be decompressed on the fly as it
# is being read.
LogFile /srv/dpaste.de/var/nginx.access.log
LogFile /var/log/nginx/dpaste.access.log
# LogType defines the log type being processed. Normally, the Webalizer
# expects a CLF or Combined web server log as input. Using this option,