https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet
Inside your <head> </head> tags.
<style id="antiClickjack">body{display:none !important;}</style>
<script type="text/javascript">
if (self === top) {
var antiClickjack = document.getElementById("antiClickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
top.location = self.location;
}
</script>
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,269763,269773#msg-269773
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx