And if you don’t how do you deal with https connections only with Phoenix?
I have (on separate occasions) used both Nginx and Caddy as reverse proxies in front of Phoenix apps. It’s a good idea, I think, to separate out the concerns of handling HTTPS and the like instead of trying to get Phoenix to do everything.
There’s a lot they can do for you, not the least being automated certificate renewals (from letsencrypt.) You can also set your reverse proxy up to do load balancing in front of a cluster of Phoenix instances, which can be quite convenient.
All that said, it is possible to handle TLS directly in Phoenix, and skip the reverse proxy. If you’re strongly against having more moving parts in your infrastructure, I can see the argument in favor of doing it that way.
I use Traefik.