{"componentChunkName":"component---src-templates-acg-portal-new-template-tsx","path":"/hmspw9o7o","result":{"data":{"markdownRemark":{"html":"<h2 id=\"概述\"><a href=\"#%E6%A6%82%E8%BF%B0\" aria-label=\"概述 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>概述</h2>\n<p>本文介绍插件的安装、绑定、配置修改、启用/禁用与卸载操作。</p>\n<h2 id=\"安装到实例\"><a href=\"#%E5%AE%89%E8%A3%85%E5%88%B0%E5%AE%9E%E4%BE%8B\" aria-label=\"安装到实例 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>安装到实例</h2>\n<ol>\n<li>点击插件卡片的 <strong>安装</strong> 将插件安装到实例，或点击插件卡片的  <strong>配置</strong> ，进入配置页将插件安装到实例。</li>\n<li>选择目标实例（可多选）。</li>\n<li>完成安装，插件对实例的全部流量生效。</li>\n</ol>\n<h2 id=\"绑定到-api\"><a href=\"#%E7%BB%91%E5%AE%9A%E5%88%B0-api\" aria-label=\"绑定到 api permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>绑定到 API</h2>\n<ol>\n<li>点击插件卡片的 点击 <strong>配置</strong> 进入配置页，找到对应实例 或 找到对应实例，进入「实例详情 」>「插件管理」，找到对应插件</li>\n<li>在操作列中，点击 <strong>规则配置</strong>。</li>\n<li>在 规则配置 抽屉中，选择API级别插件规则，点击 <strong>添加规则</strong></li>\n<li>在 添加API级别规则 抽屉中，选择要绑定的API，完成插件规则配置</li>\n<li>完成安装，插件对当前API的流量生效</li>\n</ol>\n<h2 id=\"实例规则配置\"><a href=\"#%E5%AE%9E%E4%BE%8B%E8%A7%84%E5%88%99%E9%85%8D%E7%BD%AE\" aria-label=\"实例规则配置 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>实例规则配置</h2>\n<ol>\n<li>点击插件卡片的 点击 <strong>配置</strong> 进入配置页，找到对应实例 或 在实例管理中找到对应实例，进入「实例详情 」>「插件管理」，找到对应插件。</li>\n<li>在操作列中，点击 <strong>规则配置</strong>。</li>\n<li>在 规则配置 抽屉中，选择实例级插件规则，完成插件规则配置</li>\n<li>保存后热更新生效，不影响在线流量。</li>\n</ol>\n<h2 id=\"启用与禁用\"><a href=\"#%E5%90%AF%E7%94%A8%E4%B8%8E%E7%A6%81%E7%94%A8\" aria-label=\"启用与禁用 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>启用与禁用</h2>\n<p>插件规则支持一键 <strong>启用</strong> 或 <strong>禁用</strong>：</p>\n<ul>\n<li>禁用后插件规则不再执行，但保留配置，便于临时排查问题或快速恢复。</li>\n<li>启用后立即恢复执行。</li>\n</ul>\n<h2 id=\"卸载插件\"><a href=\"#%E5%8D%B8%E8%BD%BD%E6%8F%92%E4%BB%B6\" aria-label=\"卸载插件 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>卸载插件</h2>\n<p>对不再使用的插件绑定执行 <strong>卸载</strong>（删除绑定），卸载后该级别的插件逻辑立即停止执行。</p>\n<blockquote>\n<p>注意：卸载认证、限流类插件会立即放开对应的防护能力，请评估安全风险后操作。</p>\n</blockquote>","fields":{"slug":"hmspw9o7o","title":"安装与配置插件","date":"2026-08-28","extractedHeadings":[]},"headings":[{"value":"概述","depth":2},{"value":"安装到实例","depth":2},{"value":"绑定到 API","depth":2},{"value":"实例规则配置","depth":2},{"value":"启用与禁用","depth":2},{"value":"卸载插件","depth":2}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"hmspw9o7o","prev":{"id":"Gmspw9o9y","name":"插件概述","path":"Gmspw9o9y","filePath":"API网关专享版/操作指南/插件管理/插件概述.md","seo":null,"parentIds":["Omspw9n4x","nmspw9npq","tmspw9o4r"],"parents":[{"id":"Omspw9n4x","documentId":"cbb7cda2-d4b2-4774-9c2f-c637554847d6","name":"API网关专享版","repoName":"APIGW","filePath":"API网关专享版","disabled":false,"path":"Omspw9n4x","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"nmspw9npq","documentId":"5488af8a-8e35-4ad7-a345-adda73980fdd","name":"操作指南","repoName":"APIGW","filePath":"API网关专享版/操作指南","disabled":false,"path":"nmspw9npq","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"tmspw9o4r","documentId":"79c8d7de-3cf9-4680-9b8e-bb0106279c79","name":"插件管理","repoName":"APIGW","filePath":"API网关专享版/操作指南/插件管理","disabled":false,"path":"tmspw9o4r","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}]},"next":{"id":"umspw9o5c","name":"自定义插件","path":"umspw9o5c","filePath":"API网关专享版/操作指南/插件管理/自定义插件.md","seo":null,"parentIds":["Omspw9n4x","nmspw9npq","tmspw9o4r"],"parents":[{"id":"Omspw9n4x","documentId":"cbb7cda2-d4b2-4774-9c2f-c637554847d6","name":"API网关专享版","repoName":"APIGW","filePath":"API网关专享版","disabled":false,"path":"Omspw9n4x","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"nmspw9npq","documentId":"5488af8a-8e35-4ad7-a345-adda73980fdd","name":"操作指南","repoName":"APIGW","filePath":"API网关专享版/操作指南","disabled":false,"path":"nmspw9npq","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"tmspw9o4r","documentId":"79c8d7de-3cf9-4680-9b8e-bb0106279c79","name":"插件管理","repoName":"APIGW","filePath":"API网关专享版/操作指南/插件管理","disabled":false,"path":"tmspw9o4r","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}]},"parents":[{"id":"Omspw9n4x","documentId":"cbb7cda2-d4b2-4774-9c2f-c637554847d6","name":"API网关专享版","repoName":"APIGW","filePath":"API网关专享版","disabled":false,"path":"Omspw9n4x","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"nmspw9npq","documentId":"5488af8a-8e35-4ad7-a345-adda73980fdd","name":"操作指南","repoName":"APIGW","filePath":"API网关专享版/操作指南","disabled":false,"path":"nmspw9npq","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"tmspw9o4r","documentId":"79c8d7de-3cf9-4680-9b8e-bb0106279c79","name":"插件管理","repoName":"APIGW","filePath":"API网关专享版/操作指南/插件管理","disabled":false,"path":"tmspw9o4r","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}],"specificSeo":null}}}