Handle media files.
This commit is contained in:
parent
9576202fa1
commit
2b9dbcbb2d
4 changed files with 15 additions and 1 deletions
|
@ -11,10 +11,15 @@ server {
|
|||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_redirect off;
|
||||
client_max_body_size 100M;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /staticfiles/;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
alias /mediafiles/;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue