fix: Avoid public exposure of audio files

This commit is contained in:
JuniorJPDJ 2023-03-17 17:27:04 +01:00 committed by Georg Krause
commit b00ef2e32e
No known key found for this signature in database
GPG key ID: 2970D504B2183D22
3 changed files with 18 additions and 6 deletions

View file

@ -108,8 +108,12 @@ http {
proxy_pass http://funkwhale-api/api/subsonic/rest/;
}
location /media/ {
alias /protected/media/;
location /media/__sized__/ {
alias /protected/media/__sized__/;
}
location /media/attachments/ {
alias /protected/media/attachments/;
}
# this is an internal location that is used to serve