We've recently upgraded our SilverStripe site from 2.4 to 3.1 and installed the upgrade on a VPS.
The frontend appears fine, but when we log into the backend the page tree does not appear, but throws 'Bad Gateway' errors.
Looking at the AJAX URLs for these, they are:
/admin/pages/listview?locale=en_GB
/admin/pages/treeview?locale=en_GB
However, attempting to access other pages in the backend also results in Bad Gateway errors as well.
Reading up across the net people have suggested configuring nginx. We have PHP with Fast CGI enabled already. Any thoughts?
P.S. It may or may not be related, but strangely when we enable 'dev' mode, the admin user / password authentication does not seem to submit. It just repeatedly asks us for the username and password. We've triple-checked and it's correct what we provide it, so we've put the site into 'live' mode to access it, and now we're dealing with the Bad Gateway errors appearing in the backend.