From d0e32135316e843f95a79a31525d6a9e0633e5f0 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 2 Sep 2024 12:54:38 +0200 Subject: [PATCH] update --- .gitignore | 1 - nginx.conf | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cf0449c..9e94514 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ static/admin/ static/django_extensions/ static/rest_framework/ -/static/ diff --git a/nginx.conf b/nginx.conf index 0e7ea01..3450ba8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,5 +25,13 @@ http { proxy_redirect off; } + location /static/ { + alias /usr/share/nginx/html/static/; + } + + location /media/ { + alias /usr/share/nginx/html/media/; + } + } }