四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

請(qǐng)問301轉(zhuǎn)向怎么做?????????

我修改的是
/www/wdlinux/nginx-0.8.54/conf/vhost/123.com.conf

修改內(nèi)容如下
server {
        listen       80;
        server_name 123.com www.123.com;
        root /www/web/123/public_html;
        index  index.html index.php index.htm;
        error_page  404 /errpage/404.html;
        location ~ \.php$ {
                fastcgi_pass   127.0.0.1:9000;
                fastcgi_index  index.php;
                include fcgi.conf;
        }
        location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
                expires      1d;
        }
        location ~ .*\.(js|css)?$ {
                expires      12h;
        }
server {
                listen       80;
                server_name www.123.com htcwp.com;
                if ($host != 'www.123.com' ) {
                rewrite ^/(.*)$ http://bbs.123.com/$1 permanent;
                }

}
 

歡迎轉(zhuǎn)載,但請(qǐng)保留此信息
[我的Linux,讓Linux更易用] CentOS精簡(jiǎn)版,集成lamp,lnmp版,wdcp,wdcdn,wddns,一鍵安裝包,集群負(fù)載均衡LVS,智能DNS/CDN,性能優(yōu)化
本文連接:http://cd-genova.com/old/node/984