Nginx Web Page Jump
When you let your old page jump to a new page to prevent the loss of visits
You can use the nginx page to jump to www.old.com and jump to www.new.com
Download nginx
Modify the configuration file
Vim / usr/local/nginx/conf/nginx.conf
Modify content
Server {
Listen 80
Server_name localhost:
}
Localhost / {
Root html; index index.html index.htm; rewrite old.html new.html redirect;} 3. Restart the service / usr/local/nginx/sbin/nginx-s reload 4.ok once our company's website was blocked! Change the field to keep the visitor server {listen 80; server_name localhost; rewrite ^ / (. *) $http://www.whatav.com/$1; } localhost / {index www.xo.com www.xxoo.com}