提交 73f1acc1 编写于 作者: lyf's avatar lyf

拦截

上级 5ed18790
......@@ -45,6 +45,9 @@ http {
# if (-d $request_filename) {
# rewrite ^/(.*)([^/])$ https://$host/pica-admin-consultation/$1$2/ permanent;
# }
if ($filename ~* ^.*?\.(eot)|(ttf)|(woff)$){
add_header Access-Control-Allow-Origin *;
}
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册