Merge pull request #38 from pittar-sandbox/pittar-nginx-log-stdout

Pittar nginx log stdout
This commit is contained in:
Eugenio Marzo
2021-04-20 18:26:24 +02:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
worker_processes 2;
error_log /var/log/nginx/error.log warn;
error_log /dev/stdout warn;
pid /var/run/nginx.pid;
env REDIS_HOST;
env TOKEN;
@@ -20,7 +20,7 @@ http {
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
access_log /dev/stdout main;
sendfile on;
keepalive_timeout 30;
include /etc/nginx/conf.d/*.conf;