Re:Show HN: Staticland – Open source static site hosting wit...
by BinaryIdiot on Monday December 05, 2016 @04:36PM
(#13109897)
> This has been a real timesaver as dealing with S3 static sites was just a pain.
Excuse my ignorance but what's the issue with S3 static sites? I have a couple I was going to put up shortly and was planning on using S3.
Re:Show HN: Staticland – Open source static site hosting wit...
by sheraz on Monday December 05, 2016 @05:11PM
(#13110205)
Mainly this:
* the login to aws.
* Then creating S3 keys with the right security settings.
* Then tweaking the settings to serve pages
* Then setting up SSL with letsencrypt (I have not looked it up, but I'm pretty sure it is possible)
* Then configuring CORS if you need it (again, possible with S3)
In the end it just came down to workflow. I never really enjoyed working with AWS on command-line or automation. I much prefer the push-to-deploy workflow pioneered by Heroku and adapted/cloned with Dokku.
Re:Show HN: Staticland – Open source static site hosting wit...
by bjacobel on Monday December 05, 2016 @05:43PM
(#13110512)
Just a note on your point about S3 and Letsencrypt: AWS has their own tool for free provisioning of TLS certificates, which is all integrated in a very nice way if you put your S3 bucket behind Cloudfront (which is a good idea). Search the console for the AWS Certificate Manager.
Re:Show HN: Staticland – Open source static site hosting wit...
by BinaryIdiot on Tuesday December 06, 2016 @04:31PM
(#13118513)
Right this is what I was planning on using. I may still give it a shot, not entirely sure. For static sites I just want something quick and cheap.
Re:Show HN: Staticland – Open source static site hosting wit...
by sethvincent on Monday December 05, 2016 @04:40PM
(#13109931)
Cool, that's a good idea! The granular nginx control definitely sounds nice.
Myelf -- I've migrated almost all personal and small projects over to a self-hosted dokku instance. All of the static sites run this buildpack: https://github.com/dokku/buildpack-nginx
This has been a real timesaver as dealing with S3 static sites was just a pain. Added bonus is I have more granular control of nginx (if I want it)