I want to deploy phoenix application to digital ocean's FreeBSD server, however I am a little bit confused with all these new technologies. I am also a newbie at deployment. I used heroku before but never "really deployed" :)
So here is a list of what I currently do:
1) downloaded virtualbox
2) created and configured FreeBSD similarly to server so that exrm runs in the same environment
3) run letsencrypt-auto certonly --config /etc/letsencrypt/letsencrypt.ini
with letsencrypt.ini
being
rsa-key-size = 4096
email = example@email.com
domains = yourdomain.com, www.yourdomain.com
text = True
authenticator = webroot
standalone-supported-challenges = tls-sni-01
webroot-path = /src/isafe/priv/static
This was stolen from this post
4) change phoenix app to support https
5) package release with exrm and send tar to production server
So the questions are:
1) Do I need to run letsencrypt on production server or what I do is fine?
2) It seems there is a problem with elixir/phoenix and letsencrypt. What would be suggestions here? Should I may be not use letsencrypt
3) Is there anything else I am missing