Fix: Should use /media as alias of abs path /data/static in docker

This commit is contained in:
winkidney
2020-07-17 22:07:56 +08:00
parent 03a0f4776b
commit f3fd6e93d6

View File

@@ -12,6 +12,11 @@ server {
expires max; expires max;
access_log off; access_log off;
} }
location /media {
alias /data/static/media;
expires max;
access_log off;
}
location /api { location /api {
proxy_set_header Host $host; proxy_set_header Host $host;