I am getting a bit frustrated. My site recently out of the blue just stopped trying to load. Every php request just spins. The nginx error log was noting the sock error that is often mentioned. I changed that to 127.0.0.1:9000. Now I am seeing
failed (104: Connection reset by peer) while reading response header from upstream,
Even on a simple phpinfo() page, to the point the site fails to load.
I followed the Digital ocean tutorial on setting up a Nginx + Wordpress server and everything was running fine until the last 2 weeks or so. I don’t imagine anything auto-updated on the website…and it is not wordpress related since I run into this issue hitting an separate php file I created (phpinfo).
I’m at a loss of what to do right now.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.