I want to configure my django admin as subdomain on nginx
I’ve configured Nginx to proxy requests for admin.myproject.com to my Django application running on port 8000. However, when accessing admin.myproject.com, it redirects to admin.myproject.com/admin and displays a “502 Bad Gateway” error.