Merci pour ta réponse. Une réponse précédente m'a permis de résoudre mon 
problème, mais je lirai avec attention ton lien.


Le jeudi 23 octobre 2014 11:43:19, vous avez écrit :


Bonjour,
pour reprendre votre exemple initial, on remplace "alias" par "root" que vous 
aviez avant et on ote "static" du path, soit 
 
location /static/ {
    root /home/dev/www/; 
}
 
un exemple tout frais 
http://sametmax.com/servir-des-fichiers-statiques-avec-nginx/
 
Cordialement
 
> >
> > location /static {
> >
> > alias /home/dev/www/static;
> >
> > }
> >
> > 
> > Et l'arborescence de mon projet :
> >
> > /home/dev/www :
> >
> > ----|static
> >


_______________________________________________
django mailing list
[email protected][1]
http://lists.afpy.org/mailman/listinfo/django[2]



--------
[1] mailto:[email protected]
[2] http://lists.afpy.org/mailman/listinfo/django
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django

Répondre à