Serve up uploaded media

This commit is contained in:
Ben Sturmfels 2023-05-19 22:26:47 +10:00
parent 50cfcb7683
commit c56b15f279
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -38,9 +38,9 @@ server {
gzip off; gzip off;
} }
location /media/ { location /site_media/ {
# User-uploaded files and generated reports. # User-uploaded files and generated reports.
alias {{ project_dir }}/media/; alias {{ project_dir }}/pinaxcon/site_media/;
expires 1y; expires 1y;
} }