mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-04-15 11:47:09 +02:00
update doc
This commit is contained in:
parent
e7b2886d33
commit
b89d149ed5
@ -10,6 +10,7 @@ ProxyHub
|
|||||||
load balancing, and proxying for TCP and HTTP-based applications.
|
load balancing, and proxying for TCP and HTTP-based applications.
|
||||||
- `dnscrypt`: A protocol for securing communications between a client and a DNS resolver.
|
- `dnscrypt`: A protocol for securing communications between a client and a DNS resolver.
|
||||||
- `pdnsd`: A DNS server designed for local caching of DNS information.
|
- `pdnsd`: A DNS server designed for local caching of DNS information.
|
||||||
|
- `polipo`: A lightweight forwarding and caching web proxy server.
|
||||||
- `nginx`: An open source reverse proxy server for HTTP, HTTPS, SMTP, POP3,
|
- `nginx`: An open source reverse proxy server for HTTP, HTTPS, SMTP, POP3,
|
||||||
and IMAP protocols, as well as a load balancer, caching and SSL offload.
|
and IMAP protocols, as well as a load balancer, caching and SSL offload.
|
||||||
|
|
||||||
@ -19,6 +20,7 @@ ProxyHub
|
|||||||
image: vimagick/proxyhub
|
image: vimagick/proxyhub
|
||||||
ports:
|
ports:
|
||||||
- "1080:1080"
|
- "1080:1080"
|
||||||
|
- "8123:8123"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
@ -27,5 +29,9 @@ ProxyHub
|
|||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
|
# socks5 proxy
|
||||||
curl -x socks5h://localhost:1080 https://www.youtube.com
|
curl -x socks5h://localhost:1080 https://www.youtube.com
|
||||||
|
|
||||||
|
# http(s) proxy
|
||||||
|
curl -x http://localhost:8123 https://www.youtube.com
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user