#87 Séparer logs nginx Roundcube et autoconfig

This commit is contained in:
croax 2022-08-15 13:23:07 +02:00 committed by croax
parent 4a28995e80
commit 180a8376ce
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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;