Allow for album covers to be retrieved from webserver in lan
Created by: rhoeden
I'm using an nginx instance in conjunction with mpd to serve high quality (1500x1500) album covers in my lan. Previously I used mpdroid that has this function built-in and I was hoping this could be something worth implementing.
$ cat mpd-covers.conf
server {
listen 80;
server_name 10.0.0.110;
location / {
root /media/music;
rewrite /(.*) /$1 break;
try_files $uri $uri /.no-cover-art.jpg;
allow 10.0.0.0/24;
deny all;
}
}