From f604568beac92afea5863c985255ad55b848f919 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sat, 4 Jun 2016 07:02:07 +0000 Subject: [PATCH] Have logfiles in standard folder --- server/nginx.conf | 4 ++-- server/webalizer.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/nginx.conf b/server/nginx.conf index 5b5ff52..fd6b594 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -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; diff --git a/server/webalizer.conf b/server/webalizer.conf index 0e4a9fb..696a6e4 100644 --- a/server/webalizer.conf +++ b/server/webalizer.conf @@ -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,