if ($filename ~* ^.*?\.(eot)|(svg)|(ttf)|(otf)|(woff)|(woff2)$){ add_header Access-Control-Allow-Origin *; }