欧美级特黄AAAAAA片,医院人妻闷声隔着帘子被中出,无套内谢的新婚少妇国语播放 ,亚洲欧美一区二区三区

行業(yè)新聞

行業(yè)新聞

nginx 網(wǎng)頁跳轉改如何處理?

發(fā)布時間:2020-06-15 點擊數(shù):25049

當你讓 你的舊網(wǎng)頁 跳轉到新網(wǎng)頁去 防止訪問流失 ,這是很有必要的,那么我們該如何操作呢?接下來小編給大家分享下:

Nginx網(wǎng)頁跳轉

你可以用nginx 網(wǎng)頁跳轉 www.old.com 跳到 www.new.com

下載nginx
修改配置文件
vim /usr/local/nginx/conf/nginx.conf
修改內(nèi)容
server {
listen 80;
server_name localhost:
}
localhost / {
        root        html;

       index index.html    index.htm;
       rewrite     old.html   new.html  redirect;     
   }

  3.重起服務/usr/local/nginx/sbin/nginx -s reload
  4.ok    啦

             曾經(jīng)我們公司網(wǎng)站被封了!改動字段   又可以把訪客留住了

             server {
                      listen 80;
                     server_name  localhost;
                             rewrite   ^/(.*)$  http://www.whatav.com/$1;

                        }

                                localhost / {
                                                     index www.xo.com  www.xxoo.com

                                                    }


以上就是全網(wǎng)數(shù)據(jù)小編關于網(wǎng)頁跳轉的分享,全網(wǎng)數(shù)據(jù)專注IDC多年,致力于為廣大新老用戶提供專業(yè)的深圳服務器托管,深圳服務器租用,深圳主機托管,云服務器租用等服務器資源,詳情歡迎咨詢客服了解。

?

用戶至上,用心服務

全網(wǎng)數(shù)據(jù)以"用戶至上,用心服務每一位用戶"為宗旨,您可以把您的應用放心的交給我們,全網(wǎng)數(shù)據(jù)為您提供完美解決方案和數(shù)據(jù)中心服務。

免費咨詢