#12043: Incorrect redirect to http instead of https
------------------------------------------+---------------------------------
          Reporter:  ad...@gpuserver.com  |         Owner:  nobody             
            Status:  new                  |     Milestone:                     
         Component:  Core framework       |       Version:  1.1                
        Resolution:                       |      Keywords:  redirect http https
             Stage:  Unreviewed           |     Has_patch:  0                  
        Needs_docs:  0                    |   Needs_tests:  0                  
Needs_better_patch:  0                    |  
------------------------------------------+---------------------------------
Comment (by grahamd):

 Django does not need to be modified and WebFaction doesn't need to do
 anything for you.

 Just add yourself to your Apache configuration for your Django site:

   SetEnvIf X-Forwarded-Proto https HTTPS=1

 WebFaction does this as part of their standard one click installers now.
 You obviously created yours back before they added this line to correspond
 to what header they have nginx set.

 You may need to also load Apache module mod_setenvif.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12043#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to