You've successfully subscribed to Sushant S. Bhosale
Great! Next, complete checkout for full access to Sushant S. Bhosale
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.

Evil genius in Boston, loves Mumbai, 📷, 🐔burritos, ✈and ☕️. Web developer in the day, caped hero by night. Exploring enthusiast.

Ghost Blog Down

Ghost Blog Down

For some strange reason my NGINX reverse proxy stopped working on the Ghost installation. After much digging around turns out the port had changed from 2368 to 2369. All this happened without any changes from my side, still not sure why.

If you start seeing 502 Bad Gateway and NGINX logs start showing you 'failed (111: Connection refused) while connecting to upstream', check to see if your reverse proxy has any issue.

location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-Proto $scheme;

        proxy_pass http://127.0.0.1:2369;

    }

Sushant S. Bhosale

Sushant S. Bhosale

Evil genius in Boston, loves Mumbai, 📷, 🐔burritos, ✈ and ☕️. Web developer in the day, caped hero by night. Exploring enthusiast

comments powered by Disqus