Serve up uploaded media
This commit is contained in:
parent
50cfcb7683
commit
c56b15f279
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ server {
|
|||
gzip off;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
location /site_media/ {
|
||||
# User-uploaded files and generated reports.
|
||||
alias {{ project_dir }}/media/;
|
||||
alias {{ project_dir }}/pinaxcon/site_media/;
|
||||
expires 1y;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue