Web site If the flow is relatively large, then nginx recorded errors, especially the access log is very much, on the space run a few months after the full, causing the server to run abnormally. To avoid this, you can turn off Nginx errors and access records, turn off access records individually, and filter out certain accesses that you do not need to record.
First, you can turn off access logging in the http://www.aliyun.com/zixun/aggregation/14840.html "> Virtual host configuration file:
Access_log off;
If you want to target files for certain suffixes without accessing records, you can configure:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.