https://example.com/admin redirects to https://admin in Django Nginx and gunicorn -
the entire application works django + nginx + gunicorn using ssl(in production). when try access django-admin page https://example.com/admin , try login redirects me (https://admin).
ps: sorry silly question. inputs ?
this sounds similar django's httpresponseredirect seems strip off subdomain.
and if so, issue either nginx proxy or gunicorn not delivering domain name (http_host) django. verify examining request.meta within django.
Comments
Post a Comment