No description
Find a file
Finn d72bcadf54
Some checks failed
/ build-container (push) Failing after 1m46s
add Containerfile
2024-03-25 23:26:26 -07:00
.forgejo/workflows initial commit 2024-02-18 14:30:11 -08:00
config.go initial commit 2024-02-18 14:30:11 -08:00
Containerfile add Containerfile 2024-03-25 23:26:26 -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 initial commit 2024-02-18 14:30:11 -08: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