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]
> http://lists.afpy.org/mailman/listinfo/django [1]
Links:
------
[1] http://lists.afpy.org/mailman/listinfo/django
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django