Move access_log configuration.
This commit is contained in:
parent
cfaf23fefe
commit
4b2f73dff9
1 changed files with 4 additions and 2 deletions
|
@ -7,8 +7,7 @@ worker_processes 2;
|
|||
# Define PID files
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
# Define log files
|
||||
access_log /var/log/nginx/access.log;
|
||||
# Define error log
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
events {
|
||||
|
@ -26,6 +25,9 @@ http {
|
|||
keepalive_timeout 65;
|
||||
tcp_nodelay on;
|
||||
|
||||
# Define access log
|
||||
access_log /var/log/nginx/access.log;
|
||||
|
||||
# Configure compression (text/html is compressed by default)
|
||||
gzip on;
|
||||
gzip_min_length 1100;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue