mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-04-19 08:26:54 +00:00
Merge pull request #38 from pittar-sandbox/pittar-nginx-log-stdout
Pittar nginx log stdout
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user