Fault descriptionReference articleshttp://blog.csdn.net/sctq8888/article/details/7381910However , the fast recovery and reuse of the time-wait sockets mentioned in this article may cause problems in some scenarios, such as when accessing a server
Nginx is a very lightweight HTTP server and a high-performance HTTP and reverse proxy server, as well as a IMAP/POP3/SMTP proxy server.
1. Support for PHP
Currently, there are three kinds of Web server support for PHP:
(1) Through the Web server
Use Nginx as the Web cache, located between the content source Web server and the client.
Solution for Web caching:
1 Squid Cache
2 Nginx Proxy_cache.
Let's see, Nginx's Proxy_cache.
Composition: Proxy_cache related instruction set, fastcgi
Nginx's 403 Forbidden errors indicates that you are requesting a resource file but Nginx does not allow you to view it.
403 Forbidden is just an HTTP status code, like 404,200 is not a technical error.
Which scenes need to return a 403 status code
Ubuntu installs Nginx from official sources
CD ~
wget http://nginx.org/keys/nginx_signing.key
sudo apt-key add nginx_signing.key
sudo nano/etc/apt/ Sources.list # Add the following two sentences to
Deb
Rewrite commandNginx's rewrite is the equivalent of Apache's rewriterule (in most cases, the original Apache rewrite rules can be used directly with quotes), it can be used in the server,location and if condition judgment block, The command format
Nginx Installation Issues
Download Nginx, Address: http://nginx.org/en/download.html
Decompression installation, this does not explain
Problem arises 1:
./configure:error:the HTTP Rewrite module requires the PCRE library.
Can either
To simply share files, some people use SVN, some use FTP, but more people use the index function. Apache has a powerful index, and is also the most common, nginx auto_index implementation of the directory index is low, and the function is very
Scenebecause the company intranet has more than one server HTTP service to map to the company's external network static IP, if the port map with the route to do, you can only one intranet server 80-port map to the extranet 80 ports, the other server
The fundamentals of 0x00 cc attackscc attack uses proxy server to send a large number of URL requests that require longer computation time, such as database query, which causes the server to do a lot of computing and quickly achieve its own
The problem is this: I am accustomed to add "wp-admin" directly behind the blog address to enter the WordPress backstage, but in the future found no matter what I point to any of the management subkeys, all 404 (Can not find the page), the moment I
First, preparePcre, for regular expression matching; zlib, for compression. This is not to elaborate, if you want to install the most simple version of the Nginx, remember to prepare these two things good.It's dangerous to start a service with the
The map instruction is provided using the Ngx_http_map_module module. By default, Nginx has to load this module, unless the artificial--without-http_map_module.The Ngx_http_map_module module can create variables that are associated with values of
Feature Description: In the blacklist of IP and network, will not be able to access the Web service. in the whitelist IP, access to the Web service will not be limited by nginx all security modules. Support dynamic blacklists (need to match with
User www www. Use of users and Groups worker_processes 8; The number of working derivative processes specified (typically equal to twice times the total number of CPUs or total cores) error_log Logs/nginx_error.log crit;
Specifies the path to
But many netizens still do not understand Nginx server's pseudo static rule very much, and if you install is some commonly used program, like Wordpress,phpcms,ecshop,shopex,discuz 7, that pseudo static rule has ready-made. In order to facilitate the
InstallationUbuntu under
sudo apt-get install Nginx
Start
Start the startup file under Sudo/etc/init.d/nginx start #通过init. D.
sudo service Nginx start# is launched via the Ubuntu Services Manager
Configuration file
Nginx (engine X) is a high-performance HTTP server and reverse proxy server, the purpose of this software development is to solve the c10k problem.
The Nginx architecture leverages the features of many modern operating systems to implement a
The Location instruction in Nginx is an important instruction in Nginxhttpcoremodule. The Location directive is used to configure the matching URI, which is the "/uri/" in the syntax, and can be a string or regular expression. However, if you want
Nginx do reverse proxy, the back-end host has more than one, you can use upstream to define a back-end host pool, in the reverse proxy directly using the host pool name. In upstream, we can define load balancing scheduling algorithm, weight, health
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.