Hi all,
after installinf 2.5 on a new server, it works fine, but i need make integration with mi external site.
i setting /usr/share/bigbluebutton/nginx/web.nginx adding
location /bigbluebutton {
...
# add this block!
if ($http_origin) {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods "GET,POST,OPTIONS";
add_header Access-Control-Allow-Headers Content-Type;
add_header Access-Control-Max-Age 86400;
}
}
but dont works with my php script(used also in the old server)
The php script is
$url1 = trim($_SERVER['QUERY_STRING']);
$url_clean = str_replace("url=","",$url1);
header("Content-type: text/xml");
echo file_get_contents($url_clean);
Somebody can gives me some help for setting?
in advanced, thanks