fix log paths
This commit is contained in:
parent
93dedc5321
commit
53bdf4211a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user