1
0
Fork 0
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:
Thomas 2023-03-19 20:49:52 +01:00 committed by GitHub
parent 71b3712eab
commit 6decab7661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/ {