Created
October 24, 2018 13:28
-
-
Save m4tlch/e31d213dc9b42eeba9d741f5330ed437 to your computer and use it in GitHub Desktop.
.htaccess with cross-origin settings for amocrm.ru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_headers.c> | |
Header set Content-Security-Policy "frame-ancestors http://*.amocrm.ru/ 'self';" | |
# For IE 11 and below | |
Header set X-Frame-Options SAMEORIGIN | |
Header append X-Frame-Options "ALLOW-FROM http://*.amocrm.ru/" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment