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?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/10a6bb7a-a874-41da-bc1a-46fc6af80718%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to