I'm trying to do the same thing but I'm having problems getting nginx to server over https. I removed all 443 references for apache and added them to my nginx/sites-available/domain.com, so I have a declaration for static content listening on port 80 and then another for ssl on 443. I'm totally new to this so I'm a bit unsure what's wrong, do I need to add some WSGI reference to the nginx config, is there a ssl mod for nginx I need to enable?
Thanks, Jason On Aug 31, 10:39 am, Francis <f.du...@gmail.com> wrote: > We setup aNginxproxy in front ofApache/WSGI and gotNginxto handle > theSSLcert and simply pass on a flag to WSGI if the connection was > coming through http or https. > > Next you'll want aSSLmiddleware, we > use:http://www.djangosnippets.org/snippets/240/ > > Now its a matter of configuring which views you wantSSL(follow > example in the middleware) > > On Aug 28, 11:04 pm, Vitaly Babiy <vbabi...@gmail.com> wrote: > > > Hey guys, > > What is the best way to deploy an app that uses mod_wsgi that some parts of > > it need to be behindSSL? > > > Thanks, > > Vitaly Babiy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---