3 ms·
Clever :-) Glad to see another solution out there! Myelf -- I've migrated almost all personal and small projects over to a self-hosted dokku instance. All of t
by sheraz 10y ago
Clever :-) Glad to see another solution out there!
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 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)
- BinaryIdiot 10y ago> 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.
- sheraz 10y agoMainly 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.
- bjacobel 10y agoJust 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.
- BinaryIdiot 10y agoRight 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.
- sethvincent 10y agoCool, that's a good idea! The granular nginx control definitely sounds nice.