MErci Grand maitre Patt je vais abandonné mon vieux apache donc :) et me
mettre sur nginx
et aprés je vous ferais un retour!


Le 13 décembre 2013 03:55, Patrick Nsukami <[email protected]> a écrit :

> > Hello *
> Hello ***
>
> >
> > Encore moi oui!
> Heureusement que c'est toi ;)
>
> >
> > En fait je developpe une appli en django et j'aimerais bien intégré le
> > support du HTTPS
> Secure Socket Layer ou SSL, a plus avoir avec ton serveur web que ton
> appli python
>
> >
> > avec un peu de google je suis tombé sur django-secure
> > http://django-secure.readthedocs.org/en/v0.1.2/ qui est sensé permettre
> le
> > HTTPS
> Non, ce truc n'est pas sensé permettre le HTTPS, à proprement parler
>
> >
> > Aprés quelques config mon appli ne fonctionne plus je suis
> automatiquement
> > redirigé sur du https (https://localhost:8080/) mais la page affiche le
> > message
> > "Erreur SSL"
> Normal,
>
> Hmmm, tu vas avoir du boulot, et surtout beaucoup de lecture j'ai
> l'impression :\
>
> 1- configurer le support de SSL sur ta becane, Debian ou Ubuntu (pour
> faire comme Elwan)
> 2- installer un serveur web (Nginx parce que Apache c'est pr les
> vieillards)
> 3- creer un virtualhost et lui passer la config ssl
> 4- relier ton virtualhost, a ton appli django, a l'aide de uwsgi
>
> Je ne te cache pas que c'est long a expliquer ici, voici donc quelques
> liens:
>
> - comment relier nginx a une appli python
> http://sametmax.com/quest-ce-que-wsgi-et-a-quoi-ca-sert/
> http://vladikk.com/2013/09/12/serving-flask-with-nginx-on-ubuntu/
>
> - certificats ssl
> https://library.linode.com/web-servers/nginx/configuration/ssl
> http://wiki.nginx.org/HttpSslModule
>
> Fais moi signe si ça coince.
> En general, c'est galere et chiant la premiere fois  :\
>
> Peace
>
> > --
> > Best regards
> > www.nmtsylla.co
> > www.twitter.com/niamato
> > www.facebook.com/niamatosylla <http://www.facebook.com/booba.sylla>
> >
>
>
> --
> Bests,
>
> ---
> "Still water is deep"
>
> Patrick Nsukami
> http://about.me/lemeteore
>
> --
> Ce message a été envoyé à la liste [email protected]
> Gestion de votre abonnement : http://dakarlug.org/liste
> Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug
> Le site du DakarLUG : http://dakarlug.org
>



-- 
Best regards
www.nmtsylla.co
www.twitter.com/niamato
www.facebook.com/niamatosylla <http://www.facebook.com/booba.sylla>
--
Ce message a été envoyé à la liste [email protected]
Gestion de votre abonnement : http://dakarlug.org/liste
Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug
Le site du DakarLUG : http://dakarlug.org

Répondre à