There is an iframe page site.ru/embed/12345 with a player, which is designed to insert the player on other sites.
How to block access to this page on the site, but to allow, if the page is inserted into other sites?
Registered rewrite ^/embed/([0-9]+)$ /embed.php?v=$1 last;