location ~ \.(eot|otf|ttf|woff|svg)$ {
add_header Access-Control-Allow-Origin *;
}
关键字词:
相关文章
- nginx禁止访问某个文件和目录(文件夹)
- nginx 隐藏或屏蔽返回版本信息
- nginx iis 下对目录中所有图片加水印方法
- nginx 提示An error occurred 解决方法
- nginx 防止 get请求下载htaccess
- nginx上传大附件 client intended to send too large body 187716882 bytes,
- nginx http301转跳 无www转跳到www域名
- nginx常见错误 500错误
- linux 下nginx 中伪静态错误 directive "rewrite" is not terminated by ";" in
- linux下lnmp错误( [emerg] "try_files" directive is duplicate in /usr/local/nginx/conf/pathinfo.conf:4 failed)