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

20 lines
449 B
Plaintext

location /live-adapt {
add_header 'Access-Control-Allow-Origin' "*" always;
# allow only on subdomain
#valid_referers server_names ~.;
#if ($invalid_referer) {
# return 403;
#}
alias {{ osp_edge_http_path }}/live-adapt;
}
location /live {
add_header 'Access-Control-Allow-Origin' "*" always;
# allow only on subdomain
#valid_referers server_names ~.;
#if ($invalid_referer) {
# return 403;
#}
alias {{osp_edge_http_path}}/live;
}