Open cachapa opened 1 year ago
Just building FROM
a webserver image and copying in the build should do the trick. My (opinionated) view is that certificates are better left to an extra reverse proxy set up by whoever is running the deployment, but either approach is possible.
You seem to be more experienced in this topic than me so I defer to you. Having the reverse proxy handling the certificates seems perfectly fine to me, as that's how I host my apps anyway.
I'm not sure what the standard for web app containers is. I guess it should include a web server and (optional?) certificate handling.
I'm quite happy with Caddy as it handles the certificate stuff transparently, but would be happy with other solutions as well, e.g. nginx.