ricardop
a2c0afcbc4
upgrade to nginx-1.18.0-alpine-3.12; alpine 3.12 changed a lot of python/pip/wheel stuff
2020-09-22 10:15:15 +02:00
ricardop
2c8be197be
fix, we need openssl package even in non-debug builds
2020-06-08 15:48:14 +02:00
ricardop
6a1fe384f5
introduce Docker build-args:
...
- BASE_IMAGE, used in FROM line
- DEBUG_BUILD, build mitmproxy or not
2020-06-08 14:49:21 +02:00
ricardop
056c8521f9
use specific mitmproxy version (latest in 4.x branch)
2020-04-03 14:12:43 +02:00
ricardop
72dc9a8819
use alpine's coreutils base64, which supports -w 0 to avoid wrapping -- thanks @miihael
2020-04-03 14:06:19 +02:00
ricardop
bb8ab751a7
Merge branch 'pull/30'
2020-04-03 13:41:12 +02:00
ricardop
2bd42f9a5b
Bump base image version to nginx 1.16.1 and alpine 3.11
2020-04-03 13:34:29 +02:00
Jeff Bachtel
75bc9e0825
Move apk add and del into same layer
...
Prevents bloating of final image
2020-01-28 15:28:22 -07:00
Ricardo Pardini
7737bf807a
disable debug by default; fixes #9
2019-01-16 20:53:45 +01:00
Ricardo Pardini
7724f3ba15
completely reworked caching, now cache by exception (/blobs/ only essentially)
...
- now only /v2/.../blobs/... URIs are actually cached (together with their redirect catchers)
- /manifests/, /token, and /v2/ are not cached anymore, which should solve a lot of problems
- better messages for /v1 attempts
- fix usage of $connect_host:443 (which is hostname:port and causes errors to be logged) to $connect_addr (which returns an IP:port) in the proxy layer
2018-11-04 16:43:53 +01:00
Ricardo Pardini
8ff06e3dec
add mitmproxy/nginx-debug inspection capabilities
...
- avoid some caching for non-blob urls
2018-11-04 11:23:52 +01:00
ricardop
0abd4ca51a
completely reworked into an HTTPS_PROXY-based solution
...
- emit our own certificates
- configurable via ENVs
- generates config dinamically
2018-06-29 01:39:02 +02:00
ricardop
325dd23ae5
initial commit
2018-06-27 13:08:09 +02:00