How to restrict an iframe to a specific domain in Nginx configuration
August 16, 2017 03:25AM
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.!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready