location ~* \.(ttf|otf|eot|woff|woff2|png|jpg|svg)$ {
    add_header Access-Control-Allow-Origin *;
}