mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
fix traversal path nginx?
This commit is contained in:
parent
35b486bd94
commit
6077aa5869
1 changed files with 5 additions and 5 deletions
|
@ -110,12 +110,12 @@ location /media/attachments/ {
|
|||
# if you're storing media files in a S3 bucket.
|
||||
location ~ /_protected/media/(.+) {
|
||||
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.
|
||||
# proxy_set_header Authorization ""; # S3
|
||||
# proxy_pass $1; # S3
|
||||
more_set_headers "Access-Control-Allow-Origin: *";
|
||||
}
|
||||
# proxy_set_header Authorization ""; # S3
|
||||
# proxy_pass $1; # S3
|
||||
more_set_headers "Access-Control-Allow-Origin: *";
|
||||
}
|
||||
|
||||
location /_protected/music/ {
|
||||
# this is an internal location that is used to serve
|
||||
|
|
Loading…
Reference in a new issue