CORS - 生活之路

nginx反向代理解决CORS跨域问题

nginx反向代理解决CORS跨域问题的代码直接列出 需要的参考下面代码 location ~* / { proxy_pass https://www.cloudflare.com; proxy_redirect off; proxy_ssl_name $proxy_host; proxy_ssl_server