From 180a8376ce0289d3a55d62a77aa7bfeca6716bb3 Mon Sep 17 00:00:00 2001 From: croax Date: Mon, 15 Aug 2022 13:23:07 +0200 Subject: [PATCH] =?UTF-8?q?#87=20S=C3=A9parer=20logs=20nginx=20Roundcube?= =?UTF-8?q?=20et=20autoconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nginx/autoconfig.a-lec.org | 3 +++ config/nginx/mail.a-lec.org | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config/nginx/autoconfig.a-lec.org b/config/nginx/autoconfig.a-lec.org index 3c39ac7..1c37409 100644 --- a/config/nginx/autoconfig.a-lec.org +++ b/config/nginx/autoconfig.a-lec.org @@ -23,6 +23,9 @@ server { root /var/www/html/autoconfig; + access_log /var/log/nginx/autoconfig/access.log; + error_log /var/log/nginx/autoconfig/error.log warn; + # On indique HSTS si ca pouvait pousser quelques êtres à utiliser HTTPS... # car on sert du HTTPS aussi add_header Strict-Transport-Security "max-age=31536000" always; diff --git a/config/nginx/mail.a-lec.org b/config/nginx/mail.a-lec.org index b993877..b532b03 100644 --- a/config/nginx/mail.a-lec.org +++ b/config/nginx/mail.a-lec.org @@ -16,6 +16,9 @@ server { root /var/www/html/roundcube; + access_log /var/log/nginx/roundcube/access.log; + error_log /var/log/nginx/roundcube/error.log warn; + client_max_body_size 100M; add_header Strict-Transport-Security "max-age=31536000" always;