Hi, catch a problem with using Yandex.Metrika. I need to add an exception like this:
location / {
set $frame_options '';
if ($http_referer !~ '^https?:\/\/([^\/]+\.)?(yourdomain\.com|webvisor\.com)\/'){
set $frame_options 'SAMEORIGIN';
}
add_header X-Frame-Options $frame_options;
...
}
but i don't now how to do that. Can u help me? Thanks!