1
0
Fork 0
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:
orhtej2 2023-10-28 22:31:28 +02:00
parent 5a080fab29
commit 958e05b4bb

View file

@ -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: *";
}