yes but it is not working
here is my file
location /playback/presentation/playback.html {
return 301 /playback/presentation/0.81/playback.html?$query_string;
# If you have recordings from 0.9.0 beta versions and are sure
# that you will never want to play recordings made with
# BigBlueButton 0.81, comment the line above and uncomment the
# following line:
#return 301 /playback/presentation/0.9.0/playback.html?$query_string;
valid_referers server_names
mymoodlesite.com;
if ($invalid_referer) {
return 404;
}
}
location /playback/presentation/2.0/playback.html {
return 301 /playback/presentation/2.3/$arg_meetingId?$query_string;
}
location /playback/presentation {
root /var/bigbluebutton;
index index.html index.htm;
valid_referers server_names
mymoodlesite.com;
if ($invalid_referer) {
return 404;
}
}
location /playback/presentation/2.0/playback.html {
return 301 /playback/presentation/2.3/$arg_meetingId?$query_string;
}
location /playback/presentation {
root /var/bigbluebutton;
index index.html index.htm;
valid_referers server_names
mymoodlesite.com;
if ($invalid_referer) {
return 404;
}
}
--------------------------
root@server ~ # sudo nginx -t && sudo service nginx reload
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
despite this recordings are still accessable. please guide