This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 0fbb4b2  Deploy to GitHub pages
0fbb4b2 is described below

commit 0fbb4b2f344685b0bad43448b8a7cb570666356a
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 9 09:04:34 2020 +0000

    Deploy to GitHub pages
---
 apisix/admin-api.html                       |  30 +++++++
 apisix/admin-api/index.html                 |  30 +++++++
 apisix/plugins/server-info.html             | 116 +++++++++++++++++++++++++++
 apisix/plugins/server-info/index.html       | 116 +++++++++++++++++++++++++++
 apisix/zh-cn/admin-api.html                 |  29 +++++++
 apisix/zh-cn/admin-api/index.html           |  29 +++++++
 apisix/zh-cn/plugins/server-info.html       | 118 ++++++++++++++++++++++++++++
 apisix/zh-cn/plugins/server-info/index.html | 118 ++++++++++++++++++++++++++++
 sitemap.xml                                 |   2 +-
 9 files changed, 587 insertions(+), 1 deletion(-)

diff --git a/apisix/admin-api.html b/apisix/admin-api.html
index 2427fcb..d874438 100644
--- a/apisix/admin-api.html
+++ b/apisix/admin-api.html
@@ -88,6 +88,7 @@
 <tr><td>service_protocol</td><td>False</td><td>Upstream protocol 
type</td><td>only <code>grpc</code> and <code>http</code> are 
supported</td><td><code>http</code> is the default value; Must set 
<code>grpc</code> if using <code>gRPC proxy</code> or <code>gRPC 
transcode</code></td></tr>
 <tr><td>labels</td><td>False</td><td>Match Rules</td><td>Key/value pairs to 
specify 
attributes</td><td>{&quot;version&quot;:&quot;v2&quot;,&quot;build&quot;:&quot;16&quot;,&quot;env&quot;:&quot;production&quot;}</td></tr>
 <tr><td>enable_websocket</td><td>False</td><td>Auxiliary</td><td>enable 
<code>websocket</code>(boolean), default <code>false</code>.</td><td></td></tr>
+<tr><td>status</td><td>False</td><td>Auxiliary</td><td>enable this route, 
default <code>1</code>.</td><td><code>1</code> to enable, <code>0</code> to 
disable</td></tr>
 <tr><td>create_time</td><td>False</td><td>Auxiliary</td><td>epoch timestamp in 
second, will be created automatically if missing</td><td>1602883670</td></tr>
 <tr><td>update_time</td><td>False</td><td>Auxiliary</td><td>epoch timestamp in 
second, will be created automatically if missing</td><td>1602883670</td></tr>
 </tbody>
@@ -239,6 +240,35 @@ HTTP/1.1 200 OK
 
 After successful execution, methods will not retain the original data, and the 
entire update is:
 ["POST", "DELETE", "PATCH"]
+<span class="hljs-meta">
+
+#</span><span class="bash"> <span class="hljs-built_in">disable</span> 
route</span>
+<span class="hljs-meta">$</span><span class="bash"> curl 
http://127.0.0.1:9080/apisix/admin/routes/1 -H <span 
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X 
PATCH -i -d <span class="hljs-string">'</span></span>
+{
+    "status": 0
+}'
+HTTP/1.1 200 OK
+...
+
+After successful execution, status nodes will be updated to:
+{
+    "status": 0
+}
+<span class="hljs-meta">
+
+#</span><span class="bash"><span class="hljs-string"> enable 
route</span></span>
+<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string"> 
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H '</span>X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1<span class="hljs-string">' -X PATCH -i -d 
'</span></span>
+{
+    "status": 1
+}'
+HTTP/1.1 200 OK
+...
+
+After successful execution, status nodes will be updated to:
+{
+    "status": 1
+}
+
 
 </code></pre>
 <blockquote>
diff --git a/apisix/admin-api/index.html b/apisix/admin-api/index.html
index 2427fcb..d874438 100644
--- a/apisix/admin-api/index.html
+++ b/apisix/admin-api/index.html
@@ -88,6 +88,7 @@
 <tr><td>service_protocol</td><td>False</td><td>Upstream protocol 
type</td><td>only <code>grpc</code> and <code>http</code> are 
supported</td><td><code>http</code> is the default value; Must set 
<code>grpc</code> if using <code>gRPC proxy</code> or <code>gRPC 
transcode</code></td></tr>
 <tr><td>labels</td><td>False</td><td>Match Rules</td><td>Key/value pairs to 
specify 
attributes</td><td>{&quot;version&quot;:&quot;v2&quot;,&quot;build&quot;:&quot;16&quot;,&quot;env&quot;:&quot;production&quot;}</td></tr>
 <tr><td>enable_websocket</td><td>False</td><td>Auxiliary</td><td>enable 
<code>websocket</code>(boolean), default <code>false</code>.</td><td></td></tr>
+<tr><td>status</td><td>False</td><td>Auxiliary</td><td>enable this route, 
default <code>1</code>.</td><td><code>1</code> to enable, <code>0</code> to 
disable</td></tr>
 <tr><td>create_time</td><td>False</td><td>Auxiliary</td><td>epoch timestamp in 
second, will be created automatically if missing</td><td>1602883670</td></tr>
 <tr><td>update_time</td><td>False</td><td>Auxiliary</td><td>epoch timestamp in 
second, will be created automatically if missing</td><td>1602883670</td></tr>
 </tbody>
@@ -239,6 +240,35 @@ HTTP/1.1 200 OK
 
 After successful execution, methods will not retain the original data, and the 
entire update is:
 ["POST", "DELETE", "PATCH"]
+<span class="hljs-meta">
+
+#</span><span class="bash"> <span class="hljs-built_in">disable</span> 
route</span>
+<span class="hljs-meta">$</span><span class="bash"> curl 
http://127.0.0.1:9080/apisix/admin/routes/1 -H <span 
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X 
PATCH -i -d <span class="hljs-string">'</span></span>
+{
+    "status": 0
+}'
+HTTP/1.1 200 OK
+...
+
+After successful execution, status nodes will be updated to:
+{
+    "status": 0
+}
+<span class="hljs-meta">
+
+#</span><span class="bash"><span class="hljs-string"> enable 
route</span></span>
+<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string"> 
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H '</span>X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1<span class="hljs-string">' -X PATCH -i -d 
'</span></span>
+{
+    "status": 1
+}'
+HTTP/1.1 200 OK
+...
+
+After successful execution, status nodes will be updated to:
+{
+    "status": 1
+}
+
 
 </code></pre>
 <blockquote>
diff --git a/apisix/plugins/server-info.html b/apisix/plugins/server-info.html
new file mode 100644
index 0000000..532ca4e
--- /dev/null
+++ b/apisix/plugins/server-info.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta 
http-equiv="X-UA-Compatible" 
content="IE=edge"/><title>apisix/plugins/server-info · Apache 
APISIX™</title><meta name="viewport" content="width=device-width"/><meta 
name="generator" content="Docusaurus"/><meta name="description" 
content="&lt;!--"/><meta name="docsearch:language" content="en"/><meta 
property="og:title" content="apisix/plugins/server-info · Apache 
APISIX™"/><meta property="og:type" content="website"/><meta pr [...]
+        document.addEventListener('DOMContentLoaded', function() {
+          addBackToTop(
+            {"zIndex":100}
+          )
+        });
+        </script><script src="/js/scrollSpy.js"></script><link 
rel="stylesheet" href="/css/main.css"/><script 
src="/js/codetabs.js"></script></head><body class="sideNavVisible 
separateOnPageNav"><div class="fixedHeaderContainer"><div class="headerWrapper 
wrapper"><header><a href="/"><img class="logo" src="/img/logo.png" alt="Apache 
APISIX™"/><h2 class="headerTitleWithLogo">Apache APISIX™</h2></a><div 
class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul 
class="nav-site n [...]
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+<ul>
+<li><a href="/apisix/zh-cn/plugins/server-info">中文</a></li>
+</ul>
+<h1><a class="anchor" aria-hidden="true" id="summary"></a><a href="#summary" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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- [...]
+<ul>
+<li><a href="#name"><strong>Name</strong></a></li>
+<li><a href="#attributes"><strong>Attributes</strong></a></li>
+<li><a href="#api"><strong>API</strong></a></li>
+<li><a href="#how-to-enable"><strong>How To Enable</strong></a></li>
+<li><a href="#test-plugin"><strong>Test Plugin</strong></a></li>
+<li><a href="#disable-plugin"><strong>Disable Plugin</strong></a></li>
+</ul>
+<h2><a class="anchor" aria-hidden="true" id="name"></a><a href="#name" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p><code>server-info</code> is a plugin that reports basic server information 
to etcd periodically.</p>
+<p>The meaning of each item in server information is following:</p>
+<table>
+<thead>
+<tr><th>Name</th><th>Type</th><th>Description</th></tr>
+</thead>
+<tbody>
+<tr><td>up_time</td><td>integer</td><td>Elapsed time (in seconds) since APISIX 
instance was launched, value will be reset when you hot updating APISIX but is 
kept for intact if you just reloading APISIX.</td></tr>
+<tr><td>boot_time</td><td>integer</td><td>Bootstrap time (UNIX timestamp) of 
the APISIX instance, value will be reset when you hot updating APISIX but is 
kept for intact if you just reloading APISIX.</td></tr>
+<tr><td>last_report_time</td><td>integer</td><td>Last reporting time (UNIX 
timestamp).</td></tr>
+<tr><td>id</td><td>string</td><td>APISIX instance id.</td></tr>
+<tr><td>etcd_version</td><td>string</td><td>The etcd cluster version that 
APISIX is using, value will be <code>&quot;unknown&quot;</code> if the network 
(to etcd) is partitioned.</td></tr>
+<tr><td>version</td><td>string</td><td>APISIX version.</td></tr>
+<tr><td>hostname</td><td>string</td><td>Hostname of the machine/pod that 
APISIX is deployed.</td></tr>
+</tbody>
+</table>
+<h2><a class="anchor" aria-hidden="true" id="attributes"></a><a 
href="#attributes" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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 
[...]
+<p>None</p>
+<h2><a class="anchor" aria-hidden="true" id="api"></a><a href="#api" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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.2 [...]
+<p>None</p>
+<h2><a class="anchor" aria-hidden="true" id="how-to-enable"></a><a 
href="#how-to-enable" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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-.8 [...]
+<p>Just configure <code>server-info</code> in the plugin list of the 
configuration file <code>conf/config.yaml</code>.</p>
+<pre><code class="hljs">plugins:                          # plugin list
+<span class="hljs-bullet">  - </span>example-plugin
+<span class="hljs-bullet">  - </span>limit-req
+<span class="hljs-bullet">  - </span>node-status
+<span class="hljs-bullet">  - </span>server-info
+<span class="hljs-bullet">  - </span>jwt-auth
+<span class="hljs-bullet">  - </span>zipkin
+  ......
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" 
id="how-to-customize-the-server-info-report-configurations"></a><a 
href="#how-to-customize-the-server-info-report-configurations" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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  [...]
+<p>We can change the report configurations in the <code>plugin_attr</code> 
section of <code>conf/config.yaml</code>.</p>
+<table>
+<thead>
+<tr><th>Name</th><th>Type</th><th>Default</th><th>Description</th></tr>
+</thead>
+<tbody>
+<tr><td>report_interval</td><td>integer</td><td>60</td><td>the interval to 
report server info to etcd (unit: second, maximum: 3600, minimum: 60).</td></tr>
+<tr><td>report_ttl</td><td>integer</td><td>7200</td><td>the live time for 
server info in etcd (unit: second, maximum: 86400, minimum: 3600).</td></tr>
+</tbody>
+</table>
+<p>Here is an example, which modifies the <code>report_interval</code> to 10 
minutes and sets the <code>report_ttl</code> to one hour.</p>
+<pre><code class="hljs css language-yaml"><span 
class="hljs-attr">plugin_attr:</span>
+  <span class="hljs-attr">server-info:</span>
+    <span class="hljs-attr">report_interval:</span> <span 
class="hljs-number">600</span><span class="hljs-string">,</span>
+    <span class="hljs-attr">report_ttl:</span> <span 
class="hljs-number">3600</span>
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" id="test-plugin"></a><a 
href="#test-plugin" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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 
[...]
+<p>The APISIX Dashboard will collects server info in etcd, after enabling this 
plugin, you may try to check them through Dashboard.</p>
+<h2><a class="anchor" aria-hidden="true" id="disable-plugin"></a><a 
href="#disable-plugin" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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- [...]
+<p>Remove <code>server-info</code> in the plugin list of configure file 
<code>conf/config.yaml</code>.</p>
+<pre><code class="hljs">plugins:                          <span 
class="hljs-comment"># plugin list</span>
+  - example-plugin
+  - limit-req
+  - <span class="hljs-keyword">node</span><span 
class="hljs-title">-status</span>
+  - jwt-auth
+  - zipkin
+  ......
+</code></pre>
+</span></div></article></div><div class="docs-prevnext"></div></div></div><nav 
class="onPageNav"><ul class="toc-headings"><li><a 
href="#name">Name</a></li><li><a href="#attributes">Attributes</a></li><li><a 
href="#api">API</a></li><li><a href="#how-to-enable">How to 
Enable</a></li><li><a 
href="#how-to-customize-the-server-info-report-configurations">How to customize 
the server info report configurations</a></li><li><a href="#test-plugin">Test 
Plugin</a></li><li><a href="#disable-plugin"> [...]
+                document.addEventListener('keyup', function(e) {
+                  if (e.target !== document.body) {
+                    return;
+                  }
+                  // keyCode for '/' (slash)
+                  if (e.keyCode === 191) {
+                    const search = 
document.getElementById('search_input_react');
+                    search && search.focus();
+                  }
+                });
+              </script><script>
+              var search = docsearch({
+                appId: 'ZHVP417Y1Y',
+                apiKey: '79e72fedcf3719ba85c552f710ade8a3',
+                indexName: 'apache-apisix-website',
+                inputSelector: '#search_input_react'
+              });
+            </script></body></html>
\ No newline at end of file
diff --git a/apisix/plugins/server-info/index.html 
b/apisix/plugins/server-info/index.html
new file mode 100644
index 0000000..532ca4e
--- /dev/null
+++ b/apisix/plugins/server-info/index.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta 
http-equiv="X-UA-Compatible" 
content="IE=edge"/><title>apisix/plugins/server-info · Apache 
APISIX™</title><meta name="viewport" content="width=device-width"/><meta 
name="generator" content="Docusaurus"/><meta name="description" 
content="&lt;!--"/><meta name="docsearch:language" content="en"/><meta 
property="og:title" content="apisix/plugins/server-info · Apache 
APISIX™"/><meta property="og:type" content="website"/><meta pr [...]
+        document.addEventListener('DOMContentLoaded', function() {
+          addBackToTop(
+            {"zIndex":100}
+          )
+        });
+        </script><script src="/js/scrollSpy.js"></script><link 
rel="stylesheet" href="/css/main.css"/><script 
src="/js/codetabs.js"></script></head><body class="sideNavVisible 
separateOnPageNav"><div class="fixedHeaderContainer"><div class="headerWrapper 
wrapper"><header><a href="/"><img class="logo" src="/img/logo.png" alt="Apache 
APISIX™"/><h2 class="headerTitleWithLogo">Apache APISIX™</h2></a><div 
class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul 
class="nav-site n [...]
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+<ul>
+<li><a href="/apisix/zh-cn/plugins/server-info">中文</a></li>
+</ul>
+<h1><a class="anchor" aria-hidden="true" id="summary"></a><a href="#summary" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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- [...]
+<ul>
+<li><a href="#name"><strong>Name</strong></a></li>
+<li><a href="#attributes"><strong>Attributes</strong></a></li>
+<li><a href="#api"><strong>API</strong></a></li>
+<li><a href="#how-to-enable"><strong>How To Enable</strong></a></li>
+<li><a href="#test-plugin"><strong>Test Plugin</strong></a></li>
+<li><a href="#disable-plugin"><strong>Disable Plugin</strong></a></li>
+</ul>
+<h2><a class="anchor" aria-hidden="true" id="name"></a><a href="#name" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p><code>server-info</code> is a plugin that reports basic server information 
to etcd periodically.</p>
+<p>The meaning of each item in server information is following:</p>
+<table>
+<thead>
+<tr><th>Name</th><th>Type</th><th>Description</th></tr>
+</thead>
+<tbody>
+<tr><td>up_time</td><td>integer</td><td>Elapsed time (in seconds) since APISIX 
instance was launched, value will be reset when you hot updating APISIX but is 
kept for intact if you just reloading APISIX.</td></tr>
+<tr><td>boot_time</td><td>integer</td><td>Bootstrap time (UNIX timestamp) of 
the APISIX instance, value will be reset when you hot updating APISIX but is 
kept for intact if you just reloading APISIX.</td></tr>
+<tr><td>last_report_time</td><td>integer</td><td>Last reporting time (UNIX 
timestamp).</td></tr>
+<tr><td>id</td><td>string</td><td>APISIX instance id.</td></tr>
+<tr><td>etcd_version</td><td>string</td><td>The etcd cluster version that 
APISIX is using, value will be <code>&quot;unknown&quot;</code> if the network 
(to etcd) is partitioned.</td></tr>
+<tr><td>version</td><td>string</td><td>APISIX version.</td></tr>
+<tr><td>hostname</td><td>string</td><td>Hostname of the machine/pod that 
APISIX is deployed.</td></tr>
+</tbody>
+</table>
+<h2><a class="anchor" aria-hidden="true" id="attributes"></a><a 
href="#attributes" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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 
[...]
+<p>None</p>
+<h2><a class="anchor" aria-hidden="true" id="api"></a><a href="#api" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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.2 [...]
+<p>None</p>
+<h2><a class="anchor" aria-hidden="true" id="how-to-enable"></a><a 
href="#how-to-enable" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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-.8 [...]
+<p>Just configure <code>server-info</code> in the plugin list of the 
configuration file <code>conf/config.yaml</code>.</p>
+<pre><code class="hljs">plugins:                          # plugin list
+<span class="hljs-bullet">  - </span>example-plugin
+<span class="hljs-bullet">  - </span>limit-req
+<span class="hljs-bullet">  - </span>node-status
+<span class="hljs-bullet">  - </span>server-info
+<span class="hljs-bullet">  - </span>jwt-auth
+<span class="hljs-bullet">  - </span>zipkin
+  ......
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" 
id="how-to-customize-the-server-info-report-configurations"></a><a 
href="#how-to-customize-the-server-info-report-configurations" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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  [...]
+<p>We can change the report configurations in the <code>plugin_attr</code> 
section of <code>conf/config.yaml</code>.</p>
+<table>
+<thead>
+<tr><th>Name</th><th>Type</th><th>Default</th><th>Description</th></tr>
+</thead>
+<tbody>
+<tr><td>report_interval</td><td>integer</td><td>60</td><td>the interval to 
report server info to etcd (unit: second, maximum: 3600, minimum: 60).</td></tr>
+<tr><td>report_ttl</td><td>integer</td><td>7200</td><td>the live time for 
server info in etcd (unit: second, maximum: 86400, minimum: 3600).</td></tr>
+</tbody>
+</table>
+<p>Here is an example, which modifies the <code>report_interval</code> to 10 
minutes and sets the <code>report_ttl</code> to one hour.</p>
+<pre><code class="hljs css language-yaml"><span 
class="hljs-attr">plugin_attr:</span>
+  <span class="hljs-attr">server-info:</span>
+    <span class="hljs-attr">report_interval:</span> <span 
class="hljs-number">600</span><span class="hljs-string">,</span>
+    <span class="hljs-attr">report_ttl:</span> <span 
class="hljs-number">3600</span>
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" id="test-plugin"></a><a 
href="#test-plugin" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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 
[...]
+<p>The APISIX Dashboard will collects server info in etcd, after enabling this 
plugin, you may try to check them through Dashboard.</p>
+<h2><a class="anchor" aria-hidden="true" id="disable-plugin"></a><a 
href="#disable-plugin" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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- [...]
+<p>Remove <code>server-info</code> in the plugin list of configure file 
<code>conf/config.yaml</code>.</p>
+<pre><code class="hljs">plugins:                          <span 
class="hljs-comment"># plugin list</span>
+  - example-plugin
+  - limit-req
+  - <span class="hljs-keyword">node</span><span 
class="hljs-title">-status</span>
+  - jwt-auth
+  - zipkin
+  ......
+</code></pre>
+</span></div></article></div><div class="docs-prevnext"></div></div></div><nav 
class="onPageNav"><ul class="toc-headings"><li><a 
href="#name">Name</a></li><li><a href="#attributes">Attributes</a></li><li><a 
href="#api">API</a></li><li><a href="#how-to-enable">How to 
Enable</a></li><li><a 
href="#how-to-customize-the-server-info-report-configurations">How to customize 
the server info report configurations</a></li><li><a href="#test-plugin">Test 
Plugin</a></li><li><a href="#disable-plugin"> [...]
+                document.addEventListener('keyup', function(e) {
+                  if (e.target !== document.body) {
+                    return;
+                  }
+                  // keyCode for '/' (slash)
+                  if (e.keyCode === 191) {
+                    const search = 
document.getElementById('search_input_react');
+                    search && search.focus();
+                  }
+                });
+              </script><script>
+              var search = docsearch({
+                appId: 'ZHVP417Y1Y',
+                apiKey: '79e72fedcf3719ba85c552f710ade8a3',
+                indexName: 'apache-apisix-website',
+                inputSelector: '#search_input_react'
+              });
+            </script></body></html>
\ No newline at end of file
diff --git a/apisix/zh-cn/admin-api.html b/apisix/zh-cn/admin-api.html
index 45f5cf4..fca8e5d 100644
--- a/apisix/zh-cn/admin-api.html
+++ b/apisix/zh-cn/admin-api.html
@@ -90,6 +90,7 @@
 
<tr><td>filter_func</td><td>可选</td><td>匹配规则</td><td>用户自定义的过滤函数。可以使用它来实现特殊场景的匹配要求实现。该函数默认接受一个名为
 vars 的输入参数,可以用它来获取 Nginx 变量。</td><td>function(vars) return 
vars[&quot;arg_name&quot;] == &quot;json&quot; end</td></tr>
 
<tr><td>labels</td><td>可选</td><td>匹配规则</td><td>标识附加属性的键值对</td><td>{&quot;version&quot;:&quot;v2&quot;,&quot;build&quot;:&quot;16&quot;,&quot;env&quot;:&quot;production&quot;}</td></tr>
 <tr><td>enable_websocket</td><td>可选</td><td>辅助</td><td>是否启用 
<code>websocket</code>(boolean), 缺省 <code>false</code>.</td><td></td></tr>
+<tr><td>status</td><td>可选</td><td>辅助</td><td>是否启用此路由, 缺省 
<code>1</code>。</td><td><code>1</code> 表示启用,<code>0</code> 表示禁用</td></tr>
 <tr><td>create_time</td><td>可选</td><td>辅助</td><td>单位为秒的 epoch 
时间戳,如果不指定则自动创建</td><td>1602883670</td></tr>
 <tr><td>update_time</td><td>可选</td><td>辅助</td><td>单位为秒的 epoch 
时间戳,如果不指定则自动创建</td><td>1602883670</td></tr>
 </tbody>
@@ -245,6 +246,34 @@ HTTP/1.1 200 OK
 
 执行成功后,methods 将不保留原来的数据,整个更新为:
 ["POST", "DELETE", "PATCH"]
+<span class="hljs-meta">
+
+#</span><span class="bash"><span class="hljs-string"> 禁用路由</span></span>
+<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string"> 
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H '</span>X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1<span class="hljs-string">' -X PATCH -i -d 
'</span></span>
+{
+    "status": 0
+}'
+HTTP/1.1 200 OK
+...
+
+执行成功后,status 将更新为:
+{
+    "status": 0
+}
+<span class="hljs-meta">
+
+#</span><span class="bash"> 启用路由</span>
+<span class="hljs-meta">$</span><span class="bash"> curl 
http://127.0.0.1:9080/apisix/admin/routes/1 -H <span 
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X 
PATCH -i -d <span class="hljs-string">'</span></span>
+{
+    "status": 1
+}'
+HTTP/1.1 200 OK
+...
+
+执行成功后,status 将更新为:
+{
+    "status": 1
+}
 
 
 </code></pre>
diff --git a/apisix/zh-cn/admin-api/index.html 
b/apisix/zh-cn/admin-api/index.html
index 45f5cf4..fca8e5d 100644
--- a/apisix/zh-cn/admin-api/index.html
+++ b/apisix/zh-cn/admin-api/index.html
@@ -90,6 +90,7 @@
 
<tr><td>filter_func</td><td>可选</td><td>匹配规则</td><td>用户自定义的过滤函数。可以使用它来实现特殊场景的匹配要求实现。该函数默认接受一个名为
 vars 的输入参数,可以用它来获取 Nginx 变量。</td><td>function(vars) return 
vars[&quot;arg_name&quot;] == &quot;json&quot; end</td></tr>
 
<tr><td>labels</td><td>可选</td><td>匹配规则</td><td>标识附加属性的键值对</td><td>{&quot;version&quot;:&quot;v2&quot;,&quot;build&quot;:&quot;16&quot;,&quot;env&quot;:&quot;production&quot;}</td></tr>
 <tr><td>enable_websocket</td><td>可选</td><td>辅助</td><td>是否启用 
<code>websocket</code>(boolean), 缺省 <code>false</code>.</td><td></td></tr>
+<tr><td>status</td><td>可选</td><td>辅助</td><td>是否启用此路由, 缺省 
<code>1</code>。</td><td><code>1</code> 表示启用,<code>0</code> 表示禁用</td></tr>
 <tr><td>create_time</td><td>可选</td><td>辅助</td><td>单位为秒的 epoch 
时间戳,如果不指定则自动创建</td><td>1602883670</td></tr>
 <tr><td>update_time</td><td>可选</td><td>辅助</td><td>单位为秒的 epoch 
时间戳,如果不指定则自动创建</td><td>1602883670</td></tr>
 </tbody>
@@ -245,6 +246,34 @@ HTTP/1.1 200 OK
 
 执行成功后,methods 将不保留原来的数据,整个更新为:
 ["POST", "DELETE", "PATCH"]
+<span class="hljs-meta">
+
+#</span><span class="bash"><span class="hljs-string"> 禁用路由</span></span>
+<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string"> 
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H '</span>X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1<span class="hljs-string">' -X PATCH -i -d 
'</span></span>
+{
+    "status": 0
+}'
+HTTP/1.1 200 OK
+...
+
+执行成功后,status 将更新为:
+{
+    "status": 0
+}
+<span class="hljs-meta">
+
+#</span><span class="bash"> 启用路由</span>
+<span class="hljs-meta">$</span><span class="bash"> curl 
http://127.0.0.1:9080/apisix/admin/routes/1 -H <span 
class="hljs-string">'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X 
PATCH -i -d <span class="hljs-string">'</span></span>
+{
+    "status": 1
+}'
+HTTP/1.1 200 OK
+...
+
+执行成功后,status 将更新为:
+{
+    "status": 1
+}
 
 
 </code></pre>
diff --git a/apisix/zh-cn/plugins/server-info.html 
b/apisix/zh-cn/plugins/server-info.html
new file mode 100644
index 0000000..825b91b
--- /dev/null
+++ b/apisix/zh-cn/plugins/server-info.html
@@ -0,0 +1,118 @@
+<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta 
http-equiv="X-UA-Compatible" 
content="IE=edge"/><title>apisix/zh-cn/plugins/server-info · Apache 
APISIX™</title><meta name="viewport" content="width=device-width"/><meta 
name="generator" content="Docusaurus"/><meta name="description" 
content="&lt;!--"/><meta name="docsearch:language" content="en"/><meta 
property="og:title" content="apisix/zh-cn/plugins/server-info · Apache 
APISIX™"/><meta property="og:type" content="websit [...]
+        document.addEventListener('DOMContentLoaded', function() {
+          addBackToTop(
+            {"zIndex":100}
+          )
+        });
+        </script><script src="/js/scrollSpy.js"></script><link 
rel="stylesheet" href="/css/main.css"/><script 
src="/js/codetabs.js"></script></head><body class="sideNavVisible 
separateOnPageNav"><div class="fixedHeaderContainer"><div class="headerWrapper 
wrapper"><header><a href="/"><img class="logo" src="/img/logo.png" alt="Apache 
APISIX™"/><h2 class="headerTitleWithLogo">Apache APISIX™</h2></a><div 
class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul 
class="nav-site n [...]
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+<ul>
+<li><a href="/apisix/plugins/server-info">English</a></li>
+</ul>
+<h1><a class="anchor" aria-hidden="true" id="summary"></a><a href="#summary" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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- [...]
+<ul>
+<li><a href="#插件简介">插件简介</a></li>
+<li><a href="#插件属性">插件属性</a></li>
+<li><a href="#插件接口">插件接口</a></li>
+<li><a href="#启用插件">启用插件</a></li>
+<li><a href="#如何自定义服务信息上报间隔">如何自定义服务信息上报间隔</a></li>
+<li><a href="#测试插件">测试插件</a></li>
+<li><a href="#禁用插件">禁用插件</a></li>
+</ul>
+<h2><a class="anchor" aria-hidden="true" id="插件简介"></a><a href="#插件简介" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p><code>server-info</code> 是一款能够定期将服务基本信息上报至 etcd 的插件。</p>
+<p>服务信息中每一项的含义如下:</p>
+<table>
+<thead>
+<tr><th>名称</th><th>类型</th><th>描述</th></tr>
+</thead>
+<tbody>
+<tr><td>up_time</td><td>integer</td><td>APISIX 服务实例当前的运行时间(单位:秒), 如果对 APISIX 
进行热更新操作,该值将被重置;普通的 reload 操作不会影响该值。</td></tr>
+<tr><td>boot_time</td><td>integer</td><td>APISIX 服务实例的启动时间(UNIX 时间戳),如果对 
APIISIX 进行热更新操作,该值将被重置;普通的 reload 操作不会影响该值。</td></tr>
+<tr><td>last_report_time</td><td>integer</td><td>最近一次服务信息上报的时间 (UNIX 
时间戳)。</td></tr>
+<tr><td>id</td><td>string</td><td>APISIX 服务实例 id 。</td></tr>
+<tr><td>etcd_version</td><td>string</td><td>etcd 集群的版本信息,如果 APISIX 和 etcd 
集群之间存在网络分区,该值将设置为 <code>&quot;unknown&quot;</code>。</td></tr>
+<tr><td>version</td><td>string</td><td>APISIX 版本信息。</td></tr>
+<tr><td>hostname</td><td>string</td><td>APISIX 所部署的机器或 pod 的主机名信息。</td></tr>
+</tbody>
+</table>
+<h2><a class="anchor" aria-hidden="true" id="插件属性"></a><a href="#插件属性" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>无</p>
+<h2><a class="anchor" aria-hidden="true" id="插件接口"></a><a href="#插件接口" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>无</p>
+<h2><a class="anchor" aria-hidden="true" id="启用插件"></a><a href="#启用插件" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>在配置文件 <code>apisix/conf/config.yaml</code> 的插件列表中添加 
<code>server-info</code>, 即可启用该插件。</p>
+<pre><code class="hljs">plugins:                          # plugin list
+<span class="hljs-bullet">  - </span>example-plugin
+<span class="hljs-bullet">  - </span>limit-req
+<span class="hljs-bullet">  - </span>node-status
+<span class="hljs-bullet">  - </span>server-info
+<span class="hljs-bullet">  - </span>jwt-auth
+<span class="hljs-bullet">  - </span>zipkin
+  ......
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" id="如何自定义服务信息上报配置"></a><a 
href="#如何自定义服务信息上报配置" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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-.8 [...]
+<p>我们可以在 <code>conf/config.yaml</code> 文件的 <code>plugin_attr</code> 
一节中修改上报配置。</p>
+<table>
+<thead>
+<tr><th>名称</th><th>类型</th><th>默认值</th><th>描述</th></tr>
+</thead>
+<tbody>
+<tr><td>report_interval</td><td>integer</td><td>60</td><td>上报服务信息至 etcd 
的间隔(单位:秒,最大值:3600,最小值:60)</td></tr>
+<tr><td>report_ttl</td><td>integer</td><td>7200</td><td>etcd 中服务信息保存的 
TTL(单位:秒,最大值:86400,最小值:3600)</td></tr>
+</tbody>
+</table>
+<p>下面的例子将 <code>report_interval</code> 修改成了 10 秒,并将 <code>report_ttl</code> 
修改成了 1
+小时:</p>
+<pre><code class="hljs css language-yaml"><span 
class="hljs-attr">plugin_attr:</span>
+  <span class="hljs-attr">server-info:</span>
+    <span class="hljs-attr">report_interval:</span> <span 
class="hljs-number">10</span>
+    <span class="hljs-attr">report_ttl:</span> <span 
class="hljs-number">3600</span>
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" id="测试插件"></a><a href="#测试插件" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>Apache APISIX Dashboard 会收集上报到 etcd 中的服务信息,在启用这个插件后,你可以通过 APISIX Dashboard 
来查看这些数据。</p>
+<h2><a class="anchor" aria-hidden="true" id="禁用插件"></a><a href="#禁用插件" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>通过移除配置文件 <code>apisix/conf/config.yaml</code> 插件列表中的 
<code>server-info</code>,即可方便地禁用该插件。</p>
+<pre><code class="hljs">plugins:                          <span 
class="hljs-comment"># plugin list</span>
+  - example-plugin
+  - limit-req
+  - <span class="hljs-keyword">node</span><span 
class="hljs-title">-status</span>
+  - jwt-auth
+  - zipkin
+  ......
+</code></pre>
+</span></div></article></div><div class="docs-prevnext"></div></div></div><nav 
class="onPageNav"><ul class="toc-headings"><li><a 
href="#插件简介">插件简介</a></li><li><a href="#插件属性">插件属性</a></li><li><a 
href="#插件接口">插件接口</a></li><li><a href="#启用插件">启用插件</a></li><li><a 
href="#如何自定义服务信息上报配置">如何自定义服务信息上报配置</a></li><li><a 
href="#测试插件">测试插件</a></li><li><a 
href="#禁用插件">禁用插件</a></li></ul></nav></div><footer class="nav-footer" 
id="footer"><section class="sitemap"><a href="/" class="nav-home"></a><div><h 
[...]
+                document.addEventListener('keyup', function(e) {
+                  if (e.target !== document.body) {
+                    return;
+                  }
+                  // keyCode for '/' (slash)
+                  if (e.keyCode === 191) {
+                    const search = 
document.getElementById('search_input_react');
+                    search && search.focus();
+                  }
+                });
+              </script><script>
+              var search = docsearch({
+                appId: 'ZHVP417Y1Y',
+                apiKey: '79e72fedcf3719ba85c552f710ade8a3',
+                indexName: 'apache-apisix-website',
+                inputSelector: '#search_input_react'
+              });
+            </script></body></html>
\ No newline at end of file
diff --git a/apisix/zh-cn/plugins/server-info/index.html 
b/apisix/zh-cn/plugins/server-info/index.html
new file mode 100644
index 0000000..825b91b
--- /dev/null
+++ b/apisix/zh-cn/plugins/server-info/index.html
@@ -0,0 +1,118 @@
+<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta 
http-equiv="X-UA-Compatible" 
content="IE=edge"/><title>apisix/zh-cn/plugins/server-info · Apache 
APISIX™</title><meta name="viewport" content="width=device-width"/><meta 
name="generator" content="Docusaurus"/><meta name="description" 
content="&lt;!--"/><meta name="docsearch:language" content="en"/><meta 
property="og:title" content="apisix/zh-cn/plugins/server-info · Apache 
APISIX™"/><meta property="og:type" content="websit [...]
+        document.addEventListener('DOMContentLoaded', function() {
+          addBackToTop(
+            {"zIndex":100}
+          )
+        });
+        </script><script src="/js/scrollSpy.js"></script><link 
rel="stylesheet" href="/css/main.css"/><script 
src="/js/codetabs.js"></script></head><body class="sideNavVisible 
separateOnPageNav"><div class="fixedHeaderContainer"><div class="headerWrapper 
wrapper"><header><a href="/"><img class="logo" src="/img/logo.png" alt="Apache 
APISIX™"/><h2 class="headerTitleWithLogo">Apache APISIX™</h2></a><div 
class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul 
class="nav-site n [...]
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+<ul>
+<li><a href="/apisix/plugins/server-info">English</a></li>
+</ul>
+<h1><a class="anchor" aria-hidden="true" id="summary"></a><a href="#summary" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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- [...]
+<ul>
+<li><a href="#插件简介">插件简介</a></li>
+<li><a href="#插件属性">插件属性</a></li>
+<li><a href="#插件接口">插件接口</a></li>
+<li><a href="#启用插件">启用插件</a></li>
+<li><a href="#如何自定义服务信息上报间隔">如何自定义服务信息上报间隔</a></li>
+<li><a href="#测试插件">测试插件</a></li>
+<li><a href="#禁用插件">禁用插件</a></li>
+</ul>
+<h2><a class="anchor" aria-hidden="true" id="插件简介"></a><a href="#插件简介" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p><code>server-info</code> 是一款能够定期将服务基本信息上报至 etcd 的插件。</p>
+<p>服务信息中每一项的含义如下:</p>
+<table>
+<thead>
+<tr><th>名称</th><th>类型</th><th>描述</th></tr>
+</thead>
+<tbody>
+<tr><td>up_time</td><td>integer</td><td>APISIX 服务实例当前的运行时间(单位:秒), 如果对 APISIX 
进行热更新操作,该值将被重置;普通的 reload 操作不会影响该值。</td></tr>
+<tr><td>boot_time</td><td>integer</td><td>APISIX 服务实例的启动时间(UNIX 时间戳),如果对 
APIISIX 进行热更新操作,该值将被重置;普通的 reload 操作不会影响该值。</td></tr>
+<tr><td>last_report_time</td><td>integer</td><td>最近一次服务信息上报的时间 (UNIX 
时间戳)。</td></tr>
+<tr><td>id</td><td>string</td><td>APISIX 服务实例 id 。</td></tr>
+<tr><td>etcd_version</td><td>string</td><td>etcd 集群的版本信息,如果 APISIX 和 etcd 
集群之间存在网络分区,该值将设置为 <code>&quot;unknown&quot;</code>。</td></tr>
+<tr><td>version</td><td>string</td><td>APISIX 版本信息。</td></tr>
+<tr><td>hostname</td><td>string</td><td>APISIX 所部署的机器或 pod 的主机名信息。</td></tr>
+</tbody>
+</table>
+<h2><a class="anchor" aria-hidden="true" id="插件属性"></a><a href="#插件属性" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>无</p>
+<h2><a class="anchor" aria-hidden="true" id="插件接口"></a><a href="#插件接口" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>无</p>
+<h2><a class="anchor" aria-hidden="true" id="启用插件"></a><a href="#启用插件" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>在配置文件 <code>apisix/conf/config.yaml</code> 的插件列表中添加 
<code>server-info</code>, 即可启用该插件。</p>
+<pre><code class="hljs">plugins:                          # plugin list
+<span class="hljs-bullet">  - </span>example-plugin
+<span class="hljs-bullet">  - </span>limit-req
+<span class="hljs-bullet">  - </span>node-status
+<span class="hljs-bullet">  - </span>server-info
+<span class="hljs-bullet">  - </span>jwt-auth
+<span class="hljs-bullet">  - </span>zipkin
+  ......
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" id="如何自定义服务信息上报配置"></a><a 
href="#如何自定义服务信息上报配置" aria-hidden="true" class="hash-link"><svg 
class="hash-link-icon" aria-hidden="true" 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-.8 [...]
+<p>我们可以在 <code>conf/config.yaml</code> 文件的 <code>plugin_attr</code> 
一节中修改上报配置。</p>
+<table>
+<thead>
+<tr><th>名称</th><th>类型</th><th>默认值</th><th>描述</th></tr>
+</thead>
+<tbody>
+<tr><td>report_interval</td><td>integer</td><td>60</td><td>上报服务信息至 etcd 
的间隔(单位:秒,最大值:3600,最小值:60)</td></tr>
+<tr><td>report_ttl</td><td>integer</td><td>7200</td><td>etcd 中服务信息保存的 
TTL(单位:秒,最大值:86400,最小值:3600)</td></tr>
+</tbody>
+</table>
+<p>下面的例子将 <code>report_interval</code> 修改成了 10 秒,并将 <code>report_ttl</code> 
修改成了 1
+小时:</p>
+<pre><code class="hljs css language-yaml"><span 
class="hljs-attr">plugin_attr:</span>
+  <span class="hljs-attr">server-info:</span>
+    <span class="hljs-attr">report_interval:</span> <span 
class="hljs-number">10</span>
+    <span class="hljs-attr">report_ttl:</span> <span 
class="hljs-number">3600</span>
+</code></pre>
+<h2><a class="anchor" aria-hidden="true" id="测试插件"></a><a href="#测试插件" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>Apache APISIX Dashboard 会收集上报到 etcd 中的服务信息,在启用这个插件后,你可以通过 APISIX Dashboard 
来查看这些数据。</p>
+<h2><a class="anchor" aria-hidden="true" id="禁用插件"></a><a href="#禁用插件" 
aria-hidden="true" class="hash-link"><svg class="hash-link-icon" 
aria-hidden="true" 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 [...]
+<p>通过移除配置文件 <code>apisix/conf/config.yaml</code> 插件列表中的 
<code>server-info</code>,即可方便地禁用该插件。</p>
+<pre><code class="hljs">plugins:                          <span 
class="hljs-comment"># plugin list</span>
+  - example-plugin
+  - limit-req
+  - <span class="hljs-keyword">node</span><span 
class="hljs-title">-status</span>
+  - jwt-auth
+  - zipkin
+  ......
+</code></pre>
+</span></div></article></div><div class="docs-prevnext"></div></div></div><nav 
class="onPageNav"><ul class="toc-headings"><li><a 
href="#插件简介">插件简介</a></li><li><a href="#插件属性">插件属性</a></li><li><a 
href="#插件接口">插件接口</a></li><li><a href="#启用插件">启用插件</a></li><li><a 
href="#如何自定义服务信息上报配置">如何自定义服务信息上报配置</a></li><li><a 
href="#测试插件">测试插件</a></li><li><a 
href="#禁用插件">禁用插件</a></li></ul></nav></div><footer class="nav-footer" 
id="footer"><section class="sitemap"><a href="/" class="nav-home"></a><div><h 
[...]
+                document.addEventListener('keyup', function(e) {
+                  if (e.target !== document.body) {
+                    return;
+                  }
+                  // keyCode for '/' (slash)
+                  if (e.keyCode === 191) {
+                    const search = 
document.getElementById('search_input_react');
+                    search && search.focus();
+                  }
+                });
+              </script><script>
+              var search = docsearch({
+                appId: 'ZHVP417Y1Y',
+                apiKey: '79e72fedcf3719ba85c552f710ade8a3',
+                indexName: 'apache-apisix-website',
+                inputSelector: '#search_input_react'
+              });
+            </script></body></html>
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 8511c8f..41fd76e 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0"; 
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"; 
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1";><url><loc>https://apisix.apache.org/help</loc><changefreq>weekly</changefreq><priority>0.5</priority><x
 [...]
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0"; 
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"; 
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1";><url><loc>https://apisix.apache.org/help</loc><changefreq>weekly</changefreq><priority>0.5</priority><x
 [...]
\ No newline at end of file

Reply via email to