Answer the question
In order to leave comments, you need to log in
How to prevent embedding via iframe?
How do I prevent my site from being embedded via iframe to other sites?
I added nginx to the config add_header X-Frame-Options "SAMEORIGIN";
but it didn't work.
APD: solved. The title helped, it's just that my page was cached.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question