2015-07-13 16:49:46 +02:00
|
|
|
Polipo — a caching web proxy
|
|
|
|
============================
|
|
|
|
|
2016-08-30 05:42:12 +02:00
|
|
|
[Polipo][1] is a small and fast caching web proxy (a web cache, an HTTP proxy, a
|
2015-07-13 16:49:46 +02:00
|
|
|
proxy server). While Polipo was designed to be used by one person or a small
|
|
|
|
group of people, there is nothing that prevents it from being used by a larger
|
|
|
|
group.
|
|
|
|
|
|
|
|
## docker-compose.yml
|
|
|
|
|
2016-08-30 05:42:12 +02:00
|
|
|
```yaml
|
2015-07-13 16:49:46 +02:00
|
|
|
polipo:
|
|
|
|
image: vimagick/polipo
|
2016-08-30 05:42:12 +02:00
|
|
|
command:
|
|
|
|
authCredentials=username:password
|
|
|
|
socksParentProxy=1.2.3.4:9050
|
2015-07-13 16:49:46 +02:00
|
|
|
ports:
|
|
|
|
- "8123:8123"
|
|
|
|
restart: always
|
|
|
|
```
|
|
|
|
|
|
|
|
## server
|
|
|
|
|
2016-08-30 05:42:12 +02:00
|
|
|
```bash
|
2015-07-13 16:49:46 +02:00
|
|
|
$ docker-compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
## client
|
|
|
|
|
2016-08-30 05:42:12 +02:00
|
|
|
```bash
|
2015-07-13 16:49:46 +02:00
|
|
|
$ curl -x http://username:password@server:8123 https://www.youtube.com/
|
|
|
|
```
|
2016-08-30 05:42:12 +02:00
|
|
|
|
|
|
|
[1]: https://www.irif.univ-paris-diderot.fr/~jch/software/polipo/
|