2012年9月10日星期一

nginx 禁止ip访问及未绑定的域名跳转

ngixn 禁止ip访问和未绑定ip的访问

 

server {

listen 80 default;

server_name _;

return 500;

}

 

 

 

nginx 将未绑定的域名跳转

 

server {

listen 80 default;

rewrite ^(.*) http://www.kogoogle.com permanent;

}

openwrt 6300V2 USB无法显示的问题

lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/c...