From 4e6529130435725fe6024cf5041e7a2c0d015982 Mon Sep 17 00:00:00 2001 From: Christian Hagenest Date: Sat, 18 May 2024 22:01:37 +0200 Subject: [PATCH] fix up --- cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 b/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 index 99d9298f..6276661e 100644 --- a/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 +++ b/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 @@ -1,7 +1,7 @@ user www-data; worker_processes auto; pid /run/nginx.pid; -error_log stderr; +error_log syslog:server=unix:/dev/log,facility=local3; events { worker_connections 768; @@ -35,7 +35,7 @@ http { server_name _; - access_log syslog:server=unix:/dev/log; + access_log syslog:server=unix:/dev/log,facility=local7; location / { # First attempt to serve request as file, then @@ -82,6 +82,6 @@ http { listen [::]:443 ssl; server_name www.{{ config.domain_name }}; return 301 $scheme://{{ config.domain_name }}$request_uri; - access_log syslog:server=unix:/dev/log; + access_log syslog:server=unix:/dev/log,facility=local7; } }