fix: Avoid public exposure of audio files
This commit is contained in:
parent
8030c7b2ca
commit
b00ef2e32e
3 changed files with 18 additions and 6 deletions
|
|
@ -74,8 +74,12 @@ server {
|
|||
proxy_pass http://funkwhale-api/.well-known/;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
alias ${MEDIA_ROOT}/;
|
||||
location /media/__sized__/ {
|
||||
alias ${MEDIA_ROOT}/__sized__/;
|
||||
}
|
||||
|
||||
location /media/attachments/ {
|
||||
alias ${MEDIA_ROOT}/attachments/;
|
||||
}
|
||||
|
||||
# this is an internal location that is used to serve
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue