永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放
標題:
[求助]
求助各位大大幫我寫個nginx的404錯誤和301轉(zhuǎn)向的rewrite規(guī)則吧···
[打印本頁]
作者:
wang3623246
時間:
2011-12-1 17:45
標題:
求助各位大大幫我寫個nginx的404錯誤和301轉(zhuǎn)向的rewrite規(guī)則吧···
server {
listen 80;
server_name xxx.com
www.xxx.com
;
root /www/web/xxx_com/public_html;
index index.html index.php index.htm;
location ~ \.php$ {
proxy_pass
http://127.0.0.1:88
;
include naproxy.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
expires 1d;
}
location ~ .*\.(js|css|html|htm)?$ {
expires 12h;
}
location / {
try_files $uri @apache;
}
location @apache {
proxy_pass
http://127.0.0.1:88
;
include naproxy.conf;
}
access_log logs/xxx.com_access.log wwwlogs;
}
作者:
admin
時間:
2011-12-1 20:12
看論壇貼子
歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/)
Powered by Discuz! 7.2