I've configured a Debian 6 server with nginx, Passenger, and MySQL to run Django, and was running through the Django tutorial with everything going swimmingly until I tried to turn on the admin interface.
Now it returns a 502 bad gateway whenever I have
admin.autodiscover() on and any user-created app included in
However, when I run Django's test server (
python manage.py runserver), everything works fine, I can get into and use the admin interface, and everything's great, so it appears the problem is in the server configs, not the app code I've written (which isn't surprising, as it's verbatim from Django's tutorial).
Would love to solve this.