I have a ScienceNews Laravel app deployed on DigitalOcean using Nginx. I am using the most basic droplet:
It is called https://thesciencebreaker.org
I have other projects using the same exact configurations (also on DigitalOcean) but this is the only one that started to show the 504 Time-out error recently. The website has been dragging quite a bit as well, and at times blows up and shows this error.
The database has about 300 articles, 400 authors and 5k subscribers.
It has an average of about 1200 visitors per month, according to Google Analytics.
Would the database be causing this? Or is it the server that is too basic?
The same backend also has an API that serves an iOS app, but the app never crashes or experiences delays. This happens only on the website.
Any help would be greatly appreciated!