fix log paths
This commit is contained in:
parent
93dedc5321
commit
53bdf4211a
@ -16,8 +16,8 @@ http {
|
|||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
# logging
|
# logging
|
||||||
access_log access.log;
|
access_log /var/log/nginx/access.log;
|
||||||
error_log error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|
||||||
# gzip
|
# gzip
|
||||||
gzip on;
|
gzip on;
|
||||||
@ -45,8 +45,8 @@ stream {
|
|||||||
log_format basic '$remote_addr:$remote_port - $time_local '
|
log_format basic '$remote_addr:$remote_port - $time_local '
|
||||||
'$protocol stat:$status bs:$bytes_sent br:$bytes_received '
|
'$protocol stat:$status bs:$bytes_sent br:$bytes_received '
|
||||||
st:'$session_time';
|
st:'$session_time';
|
||||||
access_log access.log basic;
|
access_log /var/log/nginx/access.log;
|
||||||
error_log error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|
||||||
# include stream
|
# include stream
|
||||||
include stream/*.conf;
|
include stream/*.conf;
|
||||||
|
Loading…
Reference in New Issue
Block a user