So far we have only a few of these checked so let's polish the deployment.

Nginx Configuration

If you've been following along the goal of this series is to keep things as simple as possible to get a feel for running a Phoenix application in production. And with a decent understanding of how things work together we can improve the process as needed.

Nginx is currently installed on our system (provided you completed Part 2) so let's add a configuration for the domain we pointed to our server.

Log in to your DO server as deploy.

And remove the default configuration as it'll sometimes override your sites config if server_default is set.