This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this script will be executed after loading the routing rules in vpnup.sh | |
# current vpngw: 172.10.253.1 | |
# Example: | |
# route add -host 208.67.222.222 gw $VPNGW | |
# route add -net 74.125.0.0/16 gw $VPNGW | |
route add -net 31.13.0.0/16 gw $VPNGW | |
route add -net 61.238.0.0/16 gw $VPNGW | |
route add -host 184.154.128.246 gw $VPNGW | |
route add -host 173.255.115.197 gw $VPNGW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name dl.cuoluo.me; | |
location / { | |
proxy_redirect off; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_pass http://dl.dropbox.com/u/1812807/dl.cuoluo.me/index.html; | |
if ($request_method = POST) { |
NewerOlder