Skip to content

Instantly share code, notes, and snippets.

@MarcosBL
Created July 10, 2014 11:38
Show Gist options
  • Select an option

  • Save MarcosBL/bc8daf26a707164f7cdc to your computer and use it in GitHub Desktop.

Select an option

Save MarcosBL/bc8daf26a707164f7cdc to your computer and use it in GitHub Desktop.
Nginx header write for serving fonts to firefox cross domain and avoid CORS
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