Using different way to redirect Nginx messages to stdout / stderr

This commit is contained in:
Alexey Pustovalov
2024-01-19 13:17:09 +09:00
parent b771cb15d1
commit bb5de25caa
45 changed files with 105 additions and 91 deletions

View File

@@ -5,8 +5,8 @@ server {
server_name zabbix;
index index.php;
access_log /dev/fd/1 main;
error_log /dev/fd/2 notice;
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log notice;
set $webroot '/usr/share/zabbix';

View File

@@ -6,8 +6,8 @@ server {
server_name_in_redirect off;
index index.php;
access_log /dev/fd/1 main;
error_log /dev/fd/2 error;
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log error;
set $webroot '/usr/share/zabbix';