502 bad gateway

Thanks for all the tips folks.
I ended up just doing a fresh install and restoring a backup from the backup directory. All is well! :slight_smile: