No description
Find a file
2023-07-19 11:44:34 -07:00
.gitignore initial commit 2023-07-19 11:44:34 -07:00
go.mod initial commit 2023-07-19 11:44:34 -07:00
go.sum initial commit 2023-07-19 11:44:34 -07:00
LICENSE initial commit 2023-07-19 11:44:34 -07:00
main.go initial commit 2023-07-19 11:44:34 -07:00
README.md initial commit 2023-07-19 11:44:34 -07:00

Caching Proxy

a stupid simple http caching proxy with an S3 backend

Configure by placing a file caching-proxy.json in the working directory:

{
    "s3": {
        "endpoint": "my.minio.endpoint",
        "access_key_id": "aaaa",
        "secret_access_key": "bbbb",
        "bucket": "muh-bucket"
    },
    "bind": ":8080"
}

Requests to the HTTP server expect the first path component to be the upstream domain, and the rest of the path to be the upstream path. Only HTTPS upstreams are supported.

currently only s3 backend is supported, a future update may include a mechanism to use the local disk.