Wind Letter Net (ithov.com) original article: This chapter mainly introduces Nginx configuration management and use. As a lightweight HTTP server, Nginx has the following advantages over Apache: In performance, it takes up very little system resources, supports more concurrent connections, and achieves higher access efficiency: In functionality, Nginx is a good proxy server and load-balancing server: On the installation configuration, Nginx installation is simple, flexible configuration. The following is a detailed description of the configuration and use of Nginx. What is Nginx believe a lot ...
Nginx is a high-performance HTTP and reverse proxy server and a IMAP/POP3/SMTP proxy server. Nginx was developed by Igor Sysoev, the second rambler.ru site for Russian traffic, which has run over 2.5 at the site. Igor releases the source code in the form of a BSD-like license. Nginx has been known for its stability, rich feature sets, sample configuration files, and low system resource consumption. Nginx can be in ...
For the bulk add http://www.aliyun.com/zixun/aggregation/14840.html "> virtual host requirements, Apache has Vhost_alias module to help. What about Nginx? In fact, the horse does not need, the same can be achieved Nginx two-level domain name matching subfolders, and does not match the "www", but can match the inclusion of "www" subdomain. First Look at ...
Most of the questions in the FAQ come from http://www.stackoverflow.com and http://www.serverfault.com, some of which may not have been verified by me. Nginx How to replace error Q: Can I return with a 503 error (overloaded or temporarily unavailable) instead of a 502 error as an answer? A: Configure the fastcgi_intercept_errors directive and set it to on, and then use the error_page directive: Location/{...
Nginx itself does not own PHP processing module, so need to configure the reverse proxy, the PHP request to the other PHP parser execution, and then return the results to Nginx. The current fashion is to configure the PHP processing service in a fast-cgi way. The advantages are relatively simple, the server load is light. But the downside is obvious: the PHP processing state cannot be viewed. such as 8630.html "> sometimes the site because the load is too high, the PHP processing thread has been all blocked, will cause the Web site can no longer respond to the PHP service ...
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, in http://www.aliyun.com/zixun/aggregation/14840.html "> virtual Host configuration ...
The server_name directives in the matching order nginx of server_http://www.aliyun.com/zixun/aggregation/11696.html ">name" are primarily used to configure a name-based virtual host. The order of server_name orders is: 1, accurate server_name matching, for example: server {Listen, server_name how ...
The biggest advantage of fastcgi is that it is highly efficient, because once the program is loaded into memory, it stays on for a long time, and does not load up on the memory for every execution, like a normal program. Because for the large number of visits, the actual implementation of relatively simple procedures, it is best to write a fastcgi way, can significantly improve the concurrency processing capacity. Because Nginx does not own fastcgi tool, we need LIGHTTPD spawn-fcgi old version spawn-fcgi in Lighttpd, the new version can be installed independently. Old version ...
Overview This module provides a simple file based on the owner's http://www.aliyun.com/zixun/aggregation/38609.html "> Access control." The Nginx_http_owner_match_module module allows it to control the access of specific files to the owner and organization. Access rule checks are based on the order in which they are declared. Configuration Example: Location/{Omallow Heihe ...
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.