ansible-role-openstreamingp.../templates/osp-redirects.conf

20 lines
449 B
Plaintext
Raw Normal View History

2020-12-08 22:10:59 +01:00
location /live-adapt {
add_header 'Access-Control-Allow-Origin' "*" always;
2020-12-09 00:30:30 +01:00
# allow only on subdomain
#valid_referers server_names ~.;
#if ($invalid_referer) {
# return 403;
#}
2020-12-08 22:10:59 +01:00
alias {{ osp_edge_http_path }}/live-adapt;
}
location /live {
add_header 'Access-Control-Allow-Origin' "*" always;
2020-12-09 00:30:30 +01:00
# allow only on subdomain
#valid_referers server_names ~.;
#if ($invalid_referer) {
# return 403;
#}
2020-12-08 22:10:59 +01:00
alias {{osp_edge_http_path}}/live;
}