No description
Find a file
Nugraha 1f9da8db15
All checks were successful
continuous-integration/drone/push Build is passing
docker: varnish cache purge, and cache indicator
2022-12-05 19:46:59 +07:00
.config all: initial files 2022-12-05 03:48:53 +07:00
.vscode all: initial files 2022-12-05 03:48:53 +07:00
docker docker: varnish cache purge, and cache indicator 2022-12-05 19:46:59 +07:00
.dockerignore all: initial files 2022-12-05 03:48:53 +07:00
.drone.yml all: initial files 2022-12-05 03:48:53 +07:00
.env.example all: initial files 2022-12-05 03:48:53 +07:00
.gitignore all: initial files 2022-12-05 03:48:53 +07:00
Dockerfile all: initial files 2022-12-05 03:48:53 +07:00
go.mod all: initial files 2022-12-05 03:48:53 +07:00
go.sum all: initial files 2022-12-05 03:48:53 +07:00
LICENSE all: initial files 2022-12-05 03:48:53 +07:00
main.go all: initial files 2022-12-05 03:48:53 +07:00
Makefile all: initial files 2022-12-05 03:48:53 +07:00
obs.go all: initial files 2022-12-05 03:48:53 +07:00
obs_test.go all: initial files 2022-12-05 03:48:53 +07:00
README.md all: initial files 2022-12-05 03:48:53 +07:00
server.go all: initial files 2022-12-05 03:48:53 +07:00
util.go all: initial files 2022-12-05 03:48:53 +07:00
util_test.go all: initial files 2022-12-05 03:48:53 +07:00

obs-access-signer

S3 Object Storage access signer.

Run obs-access-signer behind a gateway/cache proxy is preferred as the response is static.

There's an example of using it with Varnish Cache, you can see here.

Why?

Some S3-compatible gateway might not support ACL endpoints but they are support presigned access. Currently, the behavior of obs-access-signer is similar to public-read ACL where clients can access objects anonymously and redirect them (permanently) to presigned url with Expires set to the max signed value of int64 which has roughly 250yrs lifetime since unix time started.

License

Apache-2.0