From 52b0a6e58b6ed745fbe95704593476dc8283e00f Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sun, 14 Aug 2022 15:19:06 +0200 Subject: [PATCH] bugfix nginx.conf --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }