防盗链片,防盗链是什么意思
终极管理员 知识笔记 95阅读
1.nginx的跨域服务器{ listen 90server _ name loclhost#允许跨域请求的域,*代表所有add _ header ' Access-Control-Allow-Origin ' *;#允许带上甜饼干请求add _ header ' Access-Control-Allow-Credentials ' ' true '#允许请求的方法,比如GET/POST/PUT/delete add _ header ' Access-Control-Allow-Methods ' *;#允许请求的' headeradd_header '访问

标签: