#87 Séparer logs nginx Roundcube et autoconfig
This commit is contained in:
parent
4a28995e80
commit
180a8376ce
|
@ -23,6 +23,9 @@ server {
|
||||||
|
|
||||||
root /var/www/html/autoconfig;
|
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...
|
# On indique HSTS si ca pouvait pousser quelques êtres à utiliser HTTPS...
|
||||||
# car on sert du HTTPS aussi
|
# car on sert du HTTPS aussi
|
||||||
add_header Strict-Transport-Security "max-age=31536000" always;
|
add_header Strict-Transport-Security "max-age=31536000" always;
|
||||||
|
|
|
@ -16,6 +16,9 @@ server {
|
||||||
|
|
||||||
root /var/www/html/roundcube;
|
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;
|
client_max_body_size 100M;
|
||||||
|
|
||||||
add_header Strict-Transport-Security "max-age=31536000" always;
|
add_header Strict-Transport-Security "max-age=31536000" always;
|
||||||
|
|
Loading…
Reference in New Issue