Created
October 7, 2021 09:55
-
-
Save Nill-R/232a3abd3e275c0ee2c1e141bfa6434b to your computer and use it in GitHub Desktop.
nginx and shadowsocks-rust configs for ss+v2ray+nginx
This file contains 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":"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" | |
} |
This file contains 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
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