No description
Find a file
Finn 65da5346bb
All checks were successful
/ build-container (push) Successful in 1m14s
Add ca-certificates to container, slightly improve logging
2024-03-31 22:47:00 -07:00
.forgejo/workflows fix logging into container registry 2024-03-31 22:13:35 -07:00
config.go initial commit 2024-02-18 14:30:11 -08:00
Containerfile Add ca-certificates to container, slightly improve logging 2024-03-31 22:47:00 -07:00
go.mod initial commit 2024-02-18 14:30:11 -08:00
go.sum initial commit 2024-02-18 14:30:11 -08:00
main.go initial commit 2024-02-18 14:30:11 -08:00
README.md update README 2024-02-18 14:48:43 -08:00
serve.go Add ca-certificates to container, slightly improve logging 2024-03-31 22:47:00 -07:00

s3staticsite

host static sites backed by an s3 bucket

configuration via environment variables:

  • BIND (default :5000) address:port to bind to. Address may be blank to bind to all addresses.
  • S3_ENDPOINT the S3 server endpoint to use
  • ACCESS_KEY_ID S3 access key
  • SECRET_ACCESS_KEY S3 access key

To serve a site with this software, make an S3 bucket named the domain you'll be serving.

  • index.html will be served for requests to the root.
  • There is currently no support for custom 404 pages