No description
Find a file
Renovate Bot af10b6e8fe
Some checks failed
/ build-container (push) Failing after 1m15s
Update golang Docker tag to v1.23
2024-09-08 06:00:58 +00:00
.forgejo/workflows fix container image name 2024-02-18 14:56:28 -08:00
.gitignore initial commit 2023-07-19 11:44:34 -07:00
Containerfile Update golang Docker tag to v1.23 2024-09-08 06:00:58 +00:00
go.mod rename package 2024-02-18 11:58:22 -08: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
renovate.json Add renovate.json 2024-09-08 05:01:25 +00: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.