摘要: 1.nginx当后端的服务给前端请求 location / { # 允许跨域的请求,可以自定义变量$http_origin,*表示所有 add_header 'Access-Control-Allow-Origin' *; # 允许携带cookie请求 add_header 'Access-Cont 阅读全文
posted @ 2023-10-26 16:45 炽橙子 阅读(2776) 评论(0) 推荐(0)