No description
Find a file
Finn 7212e51d1b
Some checks failed
/ build-container (push) Has been cancelled
check /index.html for subpaths that 404
2024-04-08 13:21:27 -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 check /index.html for subpaths that 404 2024-04-08 13:21:27 -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