nginx 配置允许图片跨域

chat
chat

nginx 配置允许 图片 跨域

location ~* \.(gif|jpg|jpeg|png|bmp|swf)$ {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
}
THE END
分享
二维码
海报
nginx 配置允许图片跨域
nginx 配置允许 图片 跨域
<<上一篇
下一篇>>
chat