diff --git a/conf/nginx.conf b/conf/nginx.conf index 7a1d5fb..b190757 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,8 @@ location __PATH__/static/ { - # Django static files - alias __PUBLIC_PATH__/static/; + # Service static files by nginx + # e.g.: /var/www/$app/static + alias __FINALPATH__/static/; expires 30d; }