内射女校花一区二区三区,久久久老熟女一区二区三区,国产精品美女久久久网站,亚洲成AV人片在
標題:
[求助]
求助各位大大幫我寫個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.sdymsy.com/bbs/)
Powered by Discuz! 7.2