CORS no Nginx
De MochilaWiki
Ir para navegaçãoIr para pesquisarliberando fontes
location ~* \.(eot|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}
outras referências
- http://enable-cors.org/
- http://learntogoogleit.com/post/61327173902/cors-preflight-request-testing-in-curl
- https://pt.wikipedia.org/wiki/Cross-origin_resource_sharing
- https://gist.github.com/Stanback/7145487
- https://gist.github.com/alexjs/4165271