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

20 lines
449 B
Plaintext
Raw Permalink Normal View History

2021-01-28 02:09:30 +01:00
location /edge-adapt {
2020-12-08 22:10:59 +01:00
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;
}
2021-01-28 02:09:30 +01:00
location /edge {
2020-12-08 22:10:59 +01:00
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;
}