How to Enable an Nginx Site Configuration
If you are using Nginx as your web server (i.e to host your web app or website) you may be wondering how to enable your site configuration. If you are like me, you got your start with Apache2 and were used to the simple a2ensite command. However, in Nginx it is a little bit different.
NGINX: connect() failed (111: Connection refused) while connecting to upstream
While setting up a new VPS for a client I came across an error - "connect() failed (111: Connection refused) while connecting to upstream". I couldn't quite pinpoint the exact cause and fix on the spot. Thus, I had to go back to my notes and dig it up. Thankfully, it was an easy solution.