Created
November 11, 2020 19:33
-
-
Save lukecav/c45c7ee8ef96d036737a3d1e7b2e8c0d to your computer and use it in GitHub Desktop.
Fix CORS issues on the Nexcess CDN
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
## | |
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js|html|json|gif)"> | |
Header set Access-Control-Allow-Origin "*" | |
Header set Access-Control-Allow-Headers "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With" | |
Header set Access-Control-Allow-Methods "POST, GET, OPTIONS" | |
</FilesMatch> | |
## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment