Question

I'm getting a 504 gatewar error on my ghost blog Dropplet

I installed ghost cms on a dropplet and everything went fine, I was customizing my blog but then suddenly I got a “504 Gateway Time-out nginx/1.18.0 (Ubuntu)” and I don’t know how to fix it.


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
March 2, 2023

Hi @72665e12c10449b78b2f5ebdc86b3a,

In such situations, it’s always best to check your logs, in this case you can start with Nginx’s error log.

The log should be located in /var/log/ and more specifically /var/log/nginx. In there check the log, reload your website and see the newest error message, it will be about the error you are experiencing. From there you’ll have a more exact reason why the error is appearing and you can further research how to resolve it.