#2: serve static and media files via nginx
This commit is contained in:
parent
3c1fec3f63
commit
0fdf7029e4
3 changed files with 24 additions and 1 deletions
|
|
@ -11,4 +11,12 @@ server {
|
|||
proxy_set_header Host $host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /staticfiles {
|
||||
alias /srv/http/staticfiles;
|
||||
}
|
||||
|
||||
location /mediafiles {
|
||||
alias /srv/http/mediafiles;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue