From 094a5ac3451c9f265aa1cffd0cdce3a5911b1200 Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Sun, 16 Apr 2023 00:43:19 +0200 Subject: [PATCH] Server media with nginx --- default | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default b/default index 558e382..d69f54d 100644 --- a/default +++ b/default @@ -8,6 +8,11 @@ server { alias /app/pflaenzli/static_collected; } + location /media { + access_log off; + alias /app/media; + } + location / { proxy_pass http://127.0.0.1:8000; proxy_set_header Host $host;