Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

How to restrict an iframe to a specific domain in Nginx configuration

$
0
0
Hello,

How to allow specified domain alone to do iframe.

I know we can do this using ALLOW-FROM in X-Frame-Options header..

"add_header X-Frame-Options "ALLOW-FROM https://example.com/";

But it is not supported on Chrome..

Is there any other ways to do that in nginx ?..

Thanks in Advance.!

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>