Getting 522 and 502 Error

Recently I was working on my website and suddenly I started to get 522 and 502 error on my websites.

Then I have to reboot server to get everything back to normal.

What could be the issue?

Look in the logs. 5xx statuses are errors, so they will be logged as errors in the error_log. Virtualmin has a section for logs in the menu.

1 Like

where can I find error_log file?

https://www.virtualmin.com/documentation/tutorial/how-to-view-website-logs