In terms of service performance, we usually store HTML static resources in multiple services according to different types of partitions.
If the topology diagram:
The Referer effect in Hypertext Transfer Protocol
Referer:null indicates that the
If you change the Nginx configuration file (nginx.conf) and want to reboot the Nginx, you can also do it by sending a system signal to the NGINX main process. However, before rebooting, to verify that the syntax of the Nginx configuration file
Copy Code code as follows:
http
{
Upstream www.test2.com {
Server 10.1.165.36:80 weight = 3;
Server 10.249.198.235;
Server 10.1.168.1 down;
Server 10.1.168.2 backup;
#ip_hash;
}
Server
{
Location/{
Proxy_pass http://www.test2.com;
Cloud Habitat Community---www.jb51.net To move here, it will automatically click! :: Cloud-dwelling Community:: Welcome to your visit!
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
The traditional method, in the tag with more attribute code, difficult to modify
link1
link1
link1
link1
link1 non-standard
Intermediate approach, global control
CSS implementation increases IE burden, does not recommend the use
css+js control Picture Show ;D IV id=content> opere e oggetti d ' arteArchitetture reperti archeologici stampe e matrici di
incisione Fotografie beni etnoantropologici
[Ctrl + A All SELECT Note: If the need to introduce
FF defaults to no change status
OPERA9 Test Passed
IE6 test passed
This thing is for the statistical department, analysis of user habits to improve the layout of the site.
It's just a little something to play with, so a lot of places aren't ideal.
Nginx+php often need to use pseudo static, generally we are manually set. Is there any way to make nginx automatically fill the full path?These two days have been a long time to achieve such a function:Request/A/B/CIf the file does not exist, look
Limit the number of accesses to an IP for the same time period
How to set a limit on the number of times a certain IP access is a headache, especially in the face of malicious DDoS attacks. Where the CC attack (Challenge Collapsar) is a DDoS
When others turn the garbage domain to your server, if you do not take measures, then the consequences are unimaginable.Domestic computer rooms generally require the main site to shut down the empty host head, to prevent the record of the domain
Nginx "Nginx could not build the Server_names_hash" workaround
Added a few site aliases to a server, almost 20 more.
When restarting Nginx, prompt:
Could not builds the Server_names_hash, you should increase server_names_hash_bucket_size:32
First open nginx.conf file, in Fastcgi_temp_file_write_size 128k; Add below
Fastcgi_intercept_errors on; note, including;
Then add the inside of the site that you want to define
Error_page 404 =/404.htm;
For example:
Copy Code code as
Variables
The core module supports built-in variables, whose names correspond with the names of variables in Apache.
All, there are the variables, which represent the lines of the title of the "client" request, for example, $http _us Er_agent,
Gzip (Gnu-zip) is a compression technique. After gzip compressed page size can be changed to the original 30% or even smaller, so that users browse the page when the speed will be much more. Gzip compressed page need both browser and server support,
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service