永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放
標(biāo)題:
[已解決]
新建站點(diǎn) 添加301轉(zhuǎn)向 不能用,以前的可以
[打印本頁]
作者:
bluegua
時(shí)間:
2011-11-19 16:12
標(biāo)題:
新建站點(diǎn) 添加301轉(zhuǎn)向 不能用,以前的可以
本帖最后由 bluegua 于 2011-11-21 17:21 編輯
原來是我的域名解析有問題~
server {
listen 80;
server_name www.aitpc.com;
root /www/web/aitpc/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 {
server_name aitpc.com;
rewrite ^/(.*)$ http://www.aitpc.com$1 permanent;
}
復(fù)制代碼
作者:
bluegua
時(shí)間:
2011-11-19 16:13
這是另一個(gè),卻可以用
server {
listen 80;
server_name www.htcwp.com;
root /www/web/weizhi/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 {
server_name htcwp.com;
rewrite ^/(.*)$ http://www.htcwp.com$1 permanent;
}
復(fù)制代碼
歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/)
Powered by Discuz! 7.2