nginx 配置允许图片跨域
![chat](https://cdn.crazyming.com/pic/2023/11/655356fd0a5bb.png)
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;
}
版权声明:
作者:东明兄
链接:https://blog.crazyming.com/note/1465/
来源:CrazyMing
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
海报
nginx 配置允许图片跨域
nginx 配置允许 图片 跨域
![](https://blog.crazyming.com/wp-content/uploads/2023/05/logonew.png)
![chat](https://pic.crazyming.com/i/pic/2023/08/64effaeea7b57.png)
共有 0 条评论