Ajout du syslog un peu partout
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
ssl_certificate_key /etc/x509/{{ item }}/{{ item }}.key;
|
||||
server_name {{ item }};
|
||||
access_log /var/log/nginx/{{ item }}.access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/nginx/{{ item }}.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
|
@@ -39,7 +39,9 @@ http {
|
||||
'"$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent"';
|
||||
access_log /var/log/nginx/access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/nginx/error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
|
@@ -5,7 +5,9 @@ server {
|
||||
ssl_certificate_key /etc/x509/mm.pipoworld.fr/mm.pipoworld.fr.key;
|
||||
server_name mm.pipoworld.fr mm.nintendojo.fr;
|
||||
access_log /var/log/nginx/mm.pipoworld.fr.access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/nginx/mm.pipoworld.fr.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
|
||||
location = / {
|
||||
rewrite ^ /cgi-bin/mailman/listinfo permanent;
|
||||
|
@@ -4,7 +4,9 @@ server {
|
||||
|
||||
server_name r.mateu.be perso.nintendojo.fr perso.libertus.eu;
|
||||
access_log /var/log/nginx/r.mateu.be.access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/nginx/r.mateu.be.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
ssl_certificate /etc/x509/r.mateu.be/fullchain.cer;
|
||||
ssl_certificate_key /etc/x509/r.mateu.be/r.mateu.be.key;
|
||||
|
||||
|
@@ -5,7 +5,9 @@ server {
|
||||
ssl_certificate_key /etc/x509/intendo.fr/intendo.fr.key;
|
||||
server_name intendo.fr www.intendo.fr;
|
||||
access_log /var/log/intendo.fr.access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/intendo.fr.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
|
||||
location / {
|
||||
return 302 https://www.nintendojo.fr$request_uri;
|
||||
|
@@ -4,7 +4,9 @@ server {
|
||||
listen [::]:443 ssl http2;
|
||||
server_name nintendojo.fr www.nintendojo.fr;
|
||||
access_log /var/log/nginx/nintendojo.fr.access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/nginx/nintendojo.fr.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
ssl_certificate /etc/x509/www.nintendojo.fr/fullchain.cer;
|
||||
ssl_certificate_key /etc/x509/www.nintendojo.fr/www.nintendojo.fr.key;
|
||||
|
||||
|
@@ -4,7 +4,9 @@ server {
|
||||
|
||||
server_name z.libertus.eu autodiscover.libertus.eu;
|
||||
access_log /var/log/nginx/z.libertus.eu.access.log combined_port;
|
||||
access_log syslog:server=unix:/dev/log combined_port;
|
||||
error_log /var/log/nginx/z.libertus.eu.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
|
||||
ssl_certificate /etc/x509/z.libertus.eu/fullchain.cer;
|
||||
ssl_certificate_key /etc/x509/z.libertus.eu/z.libertus.eu.key;
|
||||
|
Reference in New Issue
Block a user