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:
user
2026-02-15 03:38:04 +01:00
parent 0710dda8da
commit 57c78f5563
2 changed files with 7 additions and 5 deletions

View File

@@ -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