Nginx log and monitoring
Address: http://nginx.com/resources/admin-guide/logging-and-monitoring/Logging and Monitoring
Log and monitoring
This section describes how to configure logging of errors and processed requests, as well as how to use the
1. Install nginx1.1 select stable versionWe compile and install nginx to customize our own modules. The machine CentOS 6.2 x86_64. First install the missing dependency package:# Yum-y install gcc-c ++ make libtool zlib-devel openssl-devel
"Ready to Work"#在编译安装lnmp之前, first uninstall the existing RPM package.
The code is as follows
Copy Code
RPM-E httpdRPM-E MySQLRpm-e PHPYum-y Remove httpdyum-y Remove Mysql-server MySQLYum-y Remove PHPYum-y Remove
One. Nginx error logNginx software will log the fault information of its own operation and the logged information of user access to the specified log file.Typically in the second line of the nginx.conf configuration file, add:Error_log
First, IntroductionNginx is a very lightweight HTTP server written by the Russians, Nginx, which is pronounced "engine X" and is a high-performance HTTP and reverse proxy server, as well as a IMAP/POP3/SMTP proxy server. Nginx was developed by the
First, IntroductionWeb server:1.Apache: Still the most used Web server in the world. Advantages: Open source code, an open development team, support for cross-platform (can be run on almost all UNIX, Windows, Linux systems), portability, etc. is a
Address: http://nginx.com/blog/tuning-nginx/
Tuning nginx for performance
Nginx Performance Tuning
Nginx is well known as a high performance Load balancer, cache and web server, powering over 40% of the busiest websites in the world. most of the
Nginx Performance Tuning
Address: http://nginx.com/blog/tuning-nginx/
Tuning NGINX for Performance
Nginx Performance Tuning
NGINX is well known as a high performance load balancer, cache and web server, powering over 40% of the busiest websites in
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.