Skip to content

Instantly share code, notes, and snippets.

@robdimarco
Created January 13, 2014 14:10
Show Gist options
  • Save robdimarco/8400889 to your computer and use it in GitHub Desktop.
Save robdimarco/8400889 to your computer and use it in GitHub Desktop.
Nginx configuration to set access control allow origin for fonts
location ~* "^.*?\.(eot)|(ttf)|(woff)$" {
add_header Access-Control-Allow-Origin *;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment