-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Page not found (404)
Request Method: | GET
-- | --
http://dev.nds.ox.ac.uk/cope//
Using the URLconf defined in config.urls, Django tried these URL patterns, in this order:
^i18n/
en-gb/
The current path, /, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
Essentially some part of the nginix/django configuration is inserting an extra slash at the end of the proxy path, but the start of the application path. URLs in the browser look correct, but:
https://dev.nds.ox.ac.uk/cope/ --> http://dev.nds.ox.ac.uk/cope//
http://dev.nds.ox.ac.uk/cope --> redirects to https://dev.nds.ox.ac.uk/cope/en-gb/, and then gives this 404 for http://dev.nds.ox.ac.uk/cope//en-gb/
https://dev.nds.ox.ac.uk/cope/en-gb/admin --> http://dev.nds.ox.ac.uk/cope//en-gb/admin
This isn't affecting the QUOD site, which is presently on Django 1.11.4, so suspecting some sort of interaction issue between Django 2.0.7 (was working with Django 2.0.1?) and NGinx.
Reactions are currently unavailable