Skip to content

povilasb/docker-squid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ make image
$ make container

Then you can see the access logs as you do the request:

$ 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:

$ curl --proxy user1:pass1@localhost:3128 https://httpbin.org/ip -v

About

Docker recipe for Squid3 proxy server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors