mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 16:35:28 +00:00
minor correction
This commit is contained in:
parent
90c63f18ed
commit
4d8707631f
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ RUST_LOG=trace cargo run -- --allow=http://localhost/allow.txt \
|
||||||
no-auth
|
no-auth
|
||||||
```
|
```
|
||||||
* set `socks5://127.0.0.1:1080` proxy in your application
|
* set `socks5://127.0.0.1:1080` proxy in your application
|
||||||
* open http://127.0.0.1:8010 in browser for stats:
|
* use http://127.0.0.1:8010 for API:
|
||||||
* `/api/allow/{domain.com}` - add rule to the current session (and `--cache` if defined)
|
* `/api/allow/{domain.com}` - add rule to the current session (and `--cache` if defined)
|
||||||
* `/api/block/{domain.com}` - delete rule from the current session (and `--cache` if defined)
|
* `/api/block/{domain.com}` - delete rule from the current session (and `--cache` if defined)
|
||||||
* `/api/list` - return active rules (from server memory)
|
* `/api/list` - return active rules (from server memory)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue