Added /media location to nginx, so it fetches the downloaded thumbnails.

This commit is contained in:
2018-11-02 02:50:49 +02:00
parent 2a8cc8da0e
commit d8f4151242
5 changed files with 193 additions and 58 deletions

View File

@ -15,6 +15,10 @@ server {
alias /www/static;
expires 30d;
}
location /media {
alias /www/media;
expires 30d;
}
location / {
try_files $uri @proxy_to_app;