Commit Graph

28 Commits (e90d203fc01b62287f25007a8f8aad803484d578)

Author SHA1 Message Date
Ruud Kamphuis e90d203fc0
Follow redirects and cache them properly 2020-03-23 10:25:41 +01:00
Ricardo Pardini 8ad0aaa25e
Merge pull request #25 from jgiannuzzi/upstream-sni
Use SNI during the TLS handshake with the upstream
2019-11-21 19:04:40 +01:00
Jonathan Giannuzzi cd028516c6
Use SNI during the TLS handshake with the upstream 2019-11-21 10:23:46 +01:00
Ricardo Pardini 3e71b6fd57
remove some "$" usage in instructions, theres no good way to escape it in nginx literals
bump to 0.2.4
2019-01-16 21:43:01 +01:00
Ricardo Pardini d9bce2b880
bump to 0.2.3 2019-01-16 20:54:59 +01:00
Ricardo Pardini 7737bf807a
disable debug by default; fixes #9 2019-01-16 20:53:45 +01:00
Ricardo Pardini 686e8ae021
Merge pull request #8 from StanYago/master
added route for docker engine setup, just curl /setup/systemd | bash
2018-12-16 10:43:19 +01:00
Stan Yagolnitser d8434a02cf added sanity checks for /setup/systemd route 2018-12-14 12:18:28 -08:00
Ricardo Pardini 329bf342c0
Merge pull request #7 from StanYago/master
remove hardcoded DNS configuration
2018-12-12 10:29:09 +01:00
Stan Yagolnitser 653c4aad54 added route for quicker docker engine setup, just curl /setup | bash 2018-12-12 00:42:40 -08:00
Stan Yagolnitser a89cf362ad set nginx DNS configuration from container resolv.conf to allow proxy to operate behind firewall 2018-12-12 00:18:34 -08:00
Ricardo Pardini 97e77ccc56
update README to refer to 0.2.2, which is only cosmetic 2018-11-04 17:35:39 +01:00
Ricardo Pardini 19b9cdba0b
update README, remove whitespace from example invocation 2018-11-04 17:34:54 +01:00
Ricardo Pardini 8b03786636
update README for 0.2.1, details about authentication with Docker Hub and GCR. 2018-11-04 17:15:42 +01:00
Ricardo Pardini 895627a073
Merge branch 'debug' 2018-11-04 16:55:05 +01:00
Ricardo Pardini 80bb415d84
use 0.1.0 for invocation example 2018-11-04 16:51:58 +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 1486d6920e
err msg, explain the image can simply be missing upstream too 2018-07-04 19:45:33 +02:00
ricardop 296bffc911
fix README instructions 2018-07-04 11:40:33 +02:00
ricardop dab5f4f1df
fix: add higher map_hash_bucket_size, allowing for more mappings 2018-07-03 11:19:29 +02:00
ricardop 8b568ec572
more README fixes 2018-06-29 01:55:56 +02:00
ricardop e82c0dde2f
fixing README 2018-06-29 01:45:16 +02: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 ba4c66e8bc
add a long explanation 2018-06-27 18:13:56 +02:00
ricardop af65390a7f
tweaks for caching; ignore caching headers from upstreams; key cache only by host/path (no params) 2018-06-27 15:18:25 +02:00
ricardop 325dd23ae5
initial commit 2018-06-27 13:08:09 +02:00
Ricardo Pardini 228777050c
Initial commit 2018-06-27 10:08:18 +02:00