No description
Find a file
Finn 77f4ae515b
Some checks failed
/ build-container (push) Failing after 2m33s
fix container image name
2024-02-18 14:56:28 -08: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 bump containerfile 2024-02-18 14:52:28 -08: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

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.