mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
Update nginx.conf to fix security issue
This commit is contained in:
parent
71b3712eab
commit
6decab7661
1 changed files with 6 additions and 2 deletions
|
@ -101,8 +101,12 @@ location /.well-known/ {
|
||||||
proxy_pass http://127.0.0.1:__PORT__/.well-known/;
|
proxy_pass http://127.0.0.1:__PORT__/.well-known/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /media/ {
|
location /media/__sized__/ {
|
||||||
alias __DATADIR__/media/;
|
alias __DATADIR__/media/__sized__/;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /media/attachments/ {
|
||||||
|
alias __DATADIR__//media/attachments/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /_protected/media/ {
|
location /_protected/media/ {
|
||||||
|
|
Loading…
Reference in a new issue