s3staticsite/README.md

13 lines
513 B
Markdown
Raw Permalink Normal View History

2024-02-18 22:30:11 +00:00
# s3staticsite
*host static sites backed by an s3 bucket*
configuration via environment variables:
2024-02-18 22:48:43 +00:00
* `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