mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
Fix nginx and issue https://github.com/YunoHost-Apps/funkwhale_ynh/issues/230
This commit is contained in:
parent
8868ccf119
commit
a7efea4089
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ location /media/attachments/ {
|
||||||
# has been checked on API side.
|
# has been checked on API side.
|
||||||
# Comment the "NON-S3" commented lines and uncomment "S3" commented lines
|
# Comment the "NON-S3" commented lines and uncomment "S3" commented lines
|
||||||
# if you're storing media files in a S3 bucket.
|
# if you're storing media files in a S3 bucket.
|
||||||
location ~ /_protected/media/(.+)/ {
|
location /_protected/media/ {
|
||||||
internal;
|
internal;
|
||||||
alias __DATA_DIR__/data/media/$1; # NON-S3
|
alias __DATA_DIR__/data/media/$1; # NON-S3
|
||||||
# Needed to ensure DSub auth isn't forwarded to S3/Minio, see #932.
|
# Needed to ensure DSub auth isn't forwarded to S3/Minio, see #932.
|
||||||
|
|
Loading…
Reference in a new issue