https://github.com/povilasb/docker-squid
Docker recipe for Squid3 proxy server
https://github.com/povilasb/docker-squid
docker http proxy
Last synced: about 1 year ago
JSON representation
Docker recipe for Squid3 proxy server
- Host: GitHub
- URL: https://github.com/povilasb/docker-squid
- Owner: povilasb
- Created: 2016-12-13T13:28:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T08:33:07.000Z (over 1 year ago)
- Last Synced: 2025-03-16T00:14:24.068Z (about 1 year ago)
- Topics: docker, http, proxy
- Language: Makefile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
This repo contains Docker files to build container for squid 3 running on
Debian 8. In addition, sample user is created: `user1:pass1`.
There is a helper makefile to build docker image and container locally
```bash
$ make image
$ make container
```
Then you can see the access logs as you do the request:
```bash
$ make viewlogs
{"time": "1564122441617", "proxy_ip": "172.17.0.2", "client": "-", "client_ip": "172.17.0.1", "target": "httpbin.org:443", "traffic": 5868, "status_code": 200, "user_agent": "curl/7.61.1", "request_method": "CONNECT"}
```
Test it with:
```bash
$ curl --proxy user1:pass1@localhost:3128 https://httpbin.org/ip -v
```