Configuring NGINX for Phoenix applications
Using NGINX as a front-end proxy for web applications is a pretty standard setup. There are some things to keep in mind concerning Phoenix, SSL, and asset delivery and this article sums up the details. https://dennisreimann.de/articles/phoenix-nginx-config.html
Read next Deploying Phoenix Apps for Rails developers: Part 2