fix log paths

This commit is contained in:
Arthur Lu 2024-09-18 17:30:52 -07:00
parent 93dedc5321
commit 53bdf4211a

View File

@ -16,8 +16,8 @@ http {
default_type application/octet-stream;
# logging
access_log access.log;
error_log error.log;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# gzip
gzip on;
@ -45,8 +45,8 @@ stream {
log_format basic '$remote_addr:$remote_port - $time_local '
'$protocol stat:$status bs:$bytes_sent br:$bytes_received '
st:'$session_time';
access_log access.log basic;
error_log error.log;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# include stream
include stream/*.conf;