mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Serve contents of media directory.
This commit is contained in:
parent
48d0094b80
commit
f39071db80
1 changed files with 5 additions and 0 deletions
|
@ -24,3 +24,8 @@ location __PATH__/ {
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ^~ /media/ {
|
||||||
|
alias __DATA_DIR__/media/;
|
||||||
|
more_set_headers "Access-Control-Allow-Origin: *";
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue