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
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ __pycache__/
|
|||||||
dist/
|
dist/
|
||||||
build/
|
build/
|
||||||
.venv/
|
.venv/
|
||||||
|
config/s5p.yaml
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# s5p configuration
|
# s5p example configuration
|
||||||
|
# Copy to config/s5p.yaml and edit to taste.
|
||||||
|
|
||||||
listen: 127.0.0.1:1080
|
listen: 127.0.0.1:1080
|
||||||
timeout: 10
|
timeout: 10
|
||||||
@@ -7,9 +8,9 @@ log_level: info
|
|||||||
# Proxy chain -- connections tunnel through each hop in order.
|
# Proxy chain -- connections tunnel through each hop in order.
|
||||||
# Supported protocols: socks5://, socks4://, http://
|
# Supported protocols: socks5://, socks4://, http://
|
||||||
#
|
#
|
||||||
# Example: route through Tor, then an external SOCKS5 proxy
|
# Example: Tor first hop, then a public proxy
|
||||||
chain:
|
chain:
|
||||||
- socks5://127.0.0.1:9050 # Tor
|
- socks5://127.0.0.1:9050 # Tor
|
||||||
# - socks5://user:pass@proxy:1080 # authenticated SOCKS5
|
# - socks5://user:pass@proxy:1080 # post-Tor SOCKS5 proxy
|
||||||
# - socks4://proxy:1080 # SOCKS4/4a
|
# - socks4://proxy:1080 # post-Tor SOCKS4/4a proxy
|
||||||
# - http://user:pass@proxy:8080 # HTTP CONNECT
|
# - http://user:pass@proxy:8080 # post-Tor HTTP CONNECT proxy
|
||||||
|
|||||||
Reference in New Issue
Block a user