No description
Find a file
Finn 615af0abb3
All checks were successful
/ build-container (push) Successful in 50s
restore index.html check for root
2024-04-08 13:21:52 -07:00
.forgejo/workflows fix logging into container registry 2024-03-31 22:13:35 -07:00
config.go Licensing stuff 2024-03-31 22:51:10 -07:00
Containerfile Licensing stuff 2024-03-31 22:51:10 -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
LICENSE Licensing stuff 2024-03-31 22:51:10 -07:00
main.go Licensing stuff 2024-03-31 22:51:10 -07:00
README.md update README 2024-02-18 14:48:43 -08:00
serve.go restore index.html check for root 2024-04-08 13:21:52 -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