adds access logging to nginx.
This commit is contained in:
@@ -189,7 +189,7 @@ location / {
|
|||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
access_log off;
|
access_log /var/log/nginx/access.log access;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
error_log /var/log/nginx/error.log error;
|
error_log /var/log/nginx/error.log error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user