log should go to console out instead of file!

This commit is contained in:
Michael Jerger 2024-02-27 10:00:09 +01:00
parent 5d3621f6f8
commit 3257d332dc

View file

@ -9,7 +9,7 @@ data:
nginx.conf: |
user nginx;
worker_processes 3;
error_log /var/log/nginx/error.log;
error_log stdout info;
pid /var/log/nginx/nginx.pid;
worker_rlimit_nofile 8192;
events {
@ -21,7 +21,7 @@ data:
log_format main '$remote_addr - $remote_user [$time_local] $status'
'"$request" $body_bytes_sent "$http_referer"'
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
access_log stdout main;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;