1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update doc

This commit is contained in:
kev 2015-03-20 01:03:25 +08:00
parent e7b2886d33
commit b89d149ed5

View File

@ -10,6 +10,7 @@ ProxyHub
load balancing, and proxying for TCP and HTTP-based applications.
- `dnscrypt`: A protocol for securing communications between a client and a DNS resolver.
- `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,
and IMAP protocols, as well as a load balancer, caching and SSL offload.
@ -19,6 +20,7 @@ ProxyHub
image: vimagick/proxyhub
ports:
- "1080:1080"
- "8123:8123"
restart: always
## Run
@ -27,5 +29,9 @@ ProxyHub
## Test
# socks5 proxy
curl -x socks5h://localhost:1080 https://www.youtube.com
# http(s) proxy
curl -x http://localhost:8123 https://www.youtube.com