feat: split config into tracked example and gitignored live config
config/example.yaml is the repo-safe sample. config/s5p.yaml holds real proxy addresses and is gitignored.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# s5p configuration
|
||||
# s5p example configuration
|
||||
# Copy to config/s5p.yaml and edit to taste.
|
||||
|
||||
listen: 127.0.0.1:1080
|
||||
timeout: 10
|
||||
@@ -7,9 +8,9 @@ log_level: info
|
||||
# Proxy chain -- connections tunnel through each hop in order.
|
||||
# Supported protocols: socks5://, socks4://, http://
|
||||
#
|
||||
# Example: route through Tor, then an external SOCKS5 proxy
|
||||
# Example: Tor first hop, then a public proxy
|
||||
chain:
|
||||
- socks5://127.0.0.1:9050 # Tor
|
||||
# - socks5://user:pass@proxy:1080 # authenticated SOCKS5
|
||||
# - socks4://proxy:1080 # SOCKS4/4a
|
||||
# - http://user:pass@proxy:8080 # HTTP CONNECT
|
||||
# - socks5://user:pass@proxy:1080 # post-Tor SOCKS5 proxy
|
||||
# - socks4://proxy:1080 # post-Tor SOCKS4/4a proxy
|
||||
# - http://user:pass@proxy:8080 # post-Tor HTTP CONNECT proxy
|
||||
|
||||
Reference in New Issue
Block a user