Skip to content

Instantly share code, notes, and snippets.

@Nill-R
Created October 7, 2021 09:55
Show Gist options
  • Save Nill-R/232a3abd3e275c0ee2c1e141bfa6434b to your computer and use it in GitHub Desktop.
Save Nill-R/232a3abd3e275c0ee2c1e141bfa6434b to your computer and use it in GitHub Desktop.
nginx and shadowsocks-rust configs for ss+v2ray+nginx
{
"server":"127.0.0.1",
"server_port":8389,
"local_port":3181,
"password":"YOUR_PASSWORD_HERE",
"timeout":60,
"method":"aes-256-gcm",
"plugin":"v2ray-plugin",
"plugin_opts": "server",
"fast_open":true,
"reuse_port":true,
"nameserver": "1.1.1.1"
}
location /your-location {
proxy_redirect off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_pass http://localhost:8389/;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment