From fcced254924d76e7f34365f518a6951a5c02eb6c Mon Sep 17 00:00:00 2001 From: creylopez Date: Thu, 16 Jan 2025 09:48:33 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1ado=20location=20para=20static=20y=20med?= =?UTF-8?q?iafiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/default.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nginx/default.conf b/nginx/default.conf index fe37be0..9557007 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -17,6 +17,14 @@ server { proxy_redirect off; } + location /static/ { + alias /app/wsgi/static/; + } + + location /media/ { + alias /app/wsgi/mediafiles/; + } + error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html;