mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
fix more_set_headers
This commit is contained in:
parent
ef9e182d5e
commit
ab3c727456
1 changed files with 3 additions and 3 deletions
|
@ -95,12 +95,12 @@ location /.well-known/ {
|
||||||
|
|
||||||
location /media/__sized__/ {
|
location /media/__sized__/ {
|
||||||
alias __DATA_DIR__/data/media/__sized__/;
|
alias __DATA_DIR__/data/media/__sized__/;
|
||||||
more_set_headers "Acces-Control-Allow-Origin '*'";
|
more_set_headers 'Access-Control-Allow-Origin: *';
|
||||||
}
|
}
|
||||||
|
|
||||||
location /media/attachments/ {
|
location /media/attachments/ {
|
||||||
alias __DATA_DIR__/data/media/attachments/;
|
alias __DATA_DIR__/data/media/attachments/;
|
||||||
more_set_headers "Access-Control-Allow-Origin '*'";
|
more_set_headers 'Access-Control-Allow-Origin: *';
|
||||||
}
|
}
|
||||||
|
|
||||||
# This is an internal location that is used to serve
|
# This is an internal location that is used to serve
|
||||||
|
@ -124,7 +124,7 @@ location /_protected/music/ {
|
||||||
# Set this to the same value as your MUSIC_DIRECTORY_PATH setting
|
# Set this to the same value as your MUSIC_DIRECTORY_PATH setting
|
||||||
internal;
|
internal;
|
||||||
alias __DATA_DIR__/data/music/;
|
alias __DATA_DIR__/data/music/;
|
||||||
more_set_headers "Access-Control-Allow-Origin '*'";
|
more_set_headers 'Access-Control-Allow-Origin: *';
|
||||||
}
|
}
|
||||||
|
|
||||||
location /manifest.json {
|
location /manifest.json {
|
||||||
|
|
Loading…
Reference in a new issue