Skip to content

Instantly share code, notes, and snippets.

@rahuladams
Created May 27, 2020 08:47
Show Gist options
  • Save rahuladams/423f2ab3e345b582ee06d2604bebb74a to your computer and use it in GitHub Desktop.
Save rahuladams/423f2ab3e345b582ee06d2604bebb74a to your computer and use it in GitHub Desktop.
Add this to the server block config file.
location ~* \.(eot|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment