Skip to content

Instantly share code, notes, and snippets.

@upbit
Last active April 12, 2016 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save upbit/fecfc44b9f5e3018ef6ed15ea2c1f21a to your computer and use it in GitHub Desktop.
Save upbit/fecfc44b9f5e3018ef6ed15ea2c1f21a to your computer and use it in GitHub Desktop.
VPS
# /etc/nginx/sites-enabled/go_imaou.conf
server {
listen 80;
server_name go.imaou.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:32181;
}
}
# /etc/shadowsocks-libev/config.json
{
"server":"127.0.0.1",
"server_port":12345,
"local_port":1080,
"password":"password",
"timeout":300,
"method":"aes-256-cfb"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment