Hi, everyone. I'm a new user of Django.
I have established an app and run a server on Django.
However, when I open a URL of my app(e.g.
https://
example.com/.../), it always shows the following error on the command line.
You're accessing the development server over HTTPS, but it only supports HTTP
Worth to mention that the URLs start with https://
because I set CSRF_COOKIE_SECURE and SESSION_COOKIE_SECURE to be true, and also set SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https').
There may be other configurations I forget to mention.
In a word, the URLs starting with http:// are redirected by django to be https://
I really need URLs starting with https:// to work fine on the server.
So what should I do?