{"id":40780,"date":"2023-03-26T02:53:00","date_gmt":"2024-01-03T13:53:56","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/"},"modified":"2024-04-29T20:34:12","modified_gmt":"2024-04-29T12:34:12","slug":"%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/","title":{"rendered":"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e"},"content":{"rendered":"<p>\u6211\u8ba4\u4e3a\u5728\u5c1d\u8bd5Elasticsearch\u65f6\uff0c\u53ef\u80fd\u4f1a\u6709\u65f6\u5019\u5e0c\u671b\u5feb\u901f\u5c1d\u8bd5\u4e00\u4e0b\u7684\u65f6\u5019\u3002<br \/>\n\u8fd9\u662f\u90a3\u65f6\u7684\u7b14\u8bb0\u3002<\/p>\n<p>\u5f53\u5728Elastic Cloud\u4e2d\u521b\u5efa\u7684Elasticsearch\u4e0a\u76f4\u63a5\u53d1\u51fa\u67e5\u8be2\u65f6\uff0c\u6211\u4eec\uff08\u6682\u65f6\u5730\uff09\u5f00\u53d1\u4e86\u4e00\u4e2aWeb\u5e94\u7528\u7a0b\u5e8f\u3002\u7136\u800c\uff0c\u9ed8\u8ba4\u8bbe\u7f6e\u4f1a\u9047\u5230CORS\u9650\u5236\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.17.25.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/2-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.17.25.png\" \/><\/div>\n<p>\u6dfb\u52a0 Elasticsearch \u7528\u6237\u8bbe\u7f6e | Elasticsearch \u670d\u52a1\u6587\u6863 | Elastic<\/p>\n<h3>1. \u767b\u5f55 Elasticsearch \u670d\u52a1\u63a7\u5236\u53f0\u3002<\/h3>\n<h3>\u5728Elasticsearch\u670d\u52a1\u5361\u7684\u4e3b\u9875\u4e0a\u9009\u62e9\u60a8\u7684\u90e8\u7f72\uff0c\u6216\u8005\u524d\u5f80\u90e8\u7f72\u9875\u9762\u3002<\/h3>\n<h3>\u4ece\u60a8\u7684\u90e8\u7f72\u83dc\u5355\u4e2d\uff0c\u8f6c\u5230\u7f16\u8f91\u9875\u9762\u3002<\/h3>\n<h3>\u5728\u6bcf\u4e2aElasticsearch\u8282\u70b9\u7684\u5e95\u90e8\uff0c\u5c55\u5f00\u7528\u6237\u8bbe\u7f6e\u8986\u76d6\u7684\u7b26\u53f7\u3002<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.20.04.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/8-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.20.04.png\" \/><\/div>\n<h3>5. \u66f4\u65b0\u7528\u6237\u8bbe\u7f6e\u3002 .)<\/h3>\n<p>\u5728\u6253\u5f00\u7684\u7f16\u8f91\u5668\u90e8\u5206\u4e2d\u6dfb\u52a0HTTP\u8bbe\u7f6e<\/p>\n<pre class=\"post-pre\"><code>http:\r\n  cors.enabled: true\r\n  cors.allow-origin: \/https?:\\\/\\\/(localhost(:[0-9]+)?|xxxxx.github.io)\/\r\n  cors.allow-methods: GET\r\n  cors.allow-headers: Authorization, X-Requested-With,X-Auth-Token,Content-Type, Content-Length\r\n<\/code><\/pre>\n<p>\u53ea\u5141\u8bb8\u4ee5\u4e0b\u4e24\u79cd\u65b9\u5f0f\u7684\u8bbf\u95ee\u8bbe\u7f6e\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">localhost<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">xxxxx.github.io<\/ul>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.21.35.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/14-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.21.35.png\" \/><\/div>\n<h3>6. \u70b9\u51fb\u4fdd\u5b58\u66f4\u6539\u3002<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.23.50.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/16-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.23.50.png\" \/><\/div>\n<p>\u70b9\u51fb\u4fdd\u5b58\u6309\u94ae\u540e\uff0c\u670d\u52a1\u5668\u5c06\u5f00\u59cb\u66f4\u65b0\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.28.57.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/18-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.28.57.png\" \/><\/div>\n<p>\u5f53\u52a0\u8f7d\u5b8c\u6bd5\u540e\uff0c\u8bbe\u7f6e\u5c06\u4f1a\u751f\u6548\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.39.20.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/20-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.39.20.png\" \/><\/div>\n<p>\u63a7\u5236\u53f0\u65e5\u5fd7\u4e2d\u4e5f\u4e0d\u518d\u663e\u793a\u9519\u8bef\u4e86\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.29.49.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/22-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2020-10-07 23.29.49.png\" \/><\/div>\n<h1>\u8bf7\u63d0\u4f9b\u76f8\u5173\u7684\u82f1\u6587\u539f\u6587\uff0c\u6211\u5c06\u4e3a\u60a8\u8fdb\u884c\u4e2d\u6587\u7684\u540c\u4e49\u8f6c\u8ff0\u3002<\/h1>\n<p>\u6dfb\u52a0Elasticsearch\u7528\u6237\u8bbe\u7f6e | Elasticsearch\u670d\u52a1\u6587\u6863 | Elastic<\/p>\n<p>HTTP | Elasticsearch \u53c2\u8003[7.9] | Elastic<\/p>\n<p>YML\u914d\u7f6e &#8211; Elasticsearch\u5b9e\u4f8b| \u963f\u91cc\u4e91\u6587\u6863\u4e2d\u5fc3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u8ba4\u4e3a\u5728\u5c1d\u8bd5Elasticsearch\u65f6\uff0c\u53ef\u80fd\u4f1a\u6709\u65f6\u5019\u5e0c\u671b\u5feb\u901f\u5c1d\u8bd5\u4e00\u4e0b\u7684\u65f6\u5019\u3002 \u8fd9\u662f\u90a3\u65f6\u7684\u7b14\u8bb0\u3002 \u5f53\u5728Elas [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40780","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728elastic-cloud\u5e73\u53f0\u4e0a\u4f7f\u7528elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884ccors\u914d\u7f6e\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e\" \/>\n<meta property=\"og:description\" content=\"\u6211\u8ba4\u4e3a\u5728\u5c1d\u8bd5Elasticsearch\u65f6\uff0c\u53ef\u80fd\u4f1a\u6709\u65f6\u5019\u5e0c\u671b\u5feb\u901f\u5c1d\u8bd5\u4e00\u4e0b\u7684\u65f6\u5019\u3002 \u8fd9\u662f\u90a3\u65f6\u7684\u7b14\u8bb0\u3002 \u5f53\u5728Elas [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728elastic-cloud\u5e73\u53f0\u4e0a\u4f7f\u7528elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884ccors\u914d\u7f6e\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-03T13:53:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T12:34:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/2-0.png\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/\",\"name\":\"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-03T13:53:56+00:00\",\"dateModified\":\"2024-04-29T12:34:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728elastic-cloud\u5e73\u53f0\u4e0a\u4f7f\u7528elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884ccors\u914d\u7f6e\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e","og_description":"\u6211\u8ba4\u4e3a\u5728\u5c1d\u8bd5Elasticsearch\u65f6\uff0c\u53ef\u80fd\u4f1a\u6709\u65f6\u5019\u5e0c\u671b\u5feb\u901f\u5c1d\u8bd5\u4e00\u4e0b\u7684\u65f6\u5019\u3002 \u8fd9\u662f\u90a3\u65f6\u7684\u7b14\u8bb0\u3002 \u5f53\u5728Elas [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728elastic-cloud\u5e73\u53f0\u4e0a\u4f7f\u7528elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884ccors\u914d\u7f6e\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-03T13:53:56+00:00","article_modified_time":"2024-04-29T12:34:12+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d430f37434c4406c9b224\/2-0.png"}],"author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/","name":"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-03T13:53:56+00:00","dateModified":"2024-04-29T12:34:12+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Elastic Cloud\u5e73\u53f0\u4e0a\u4f7f\u7528Elasticsearch\u670d\u52a1\u5668\uff0c\u8fdb\u884cCORS\u914d\u7f6e"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8elastic-cloud%e5%b9%b3%e5%8f%b0%e4%b8%8a%e4%bd%bf%e7%94%a8elasticsearch%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e8%bf%9b%e8%a1%8ccors%e9%85%8d%e7%bd%ae%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40780"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40780\/revisions"}],"predecessor-version":[{"id":87495,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40780\/revisions\/87495"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}