From 2dd3a34f5bab0735d0ff86d8c898f8f0b9bcc6a6 Mon Sep 17 00:00:00 2001 From: godd0t Date: Wed, 10 May 2023 13:37:29 +0200 Subject: [PATCH] add media location to nginx --- deployment/scripts/nginx/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deployment/scripts/nginx/nginx.conf b/deployment/scripts/nginx/nginx.conf index 097e01e..5094982 100644 --- a/deployment/scripts/nginx/nginx.conf +++ b/deployment/scripts/nginx/nginx.conf @@ -9,5 +9,9 @@ http { location /static/ { alias /usr/src/app/static/; } + + location /media/ { + alias /usr/src/app/media/; + } } }