2019-10-31 09:27:28 +08:00
|
|
|
<!--
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
-->
|
|
|
|
|
2020-06-19 12:03:55 +08:00
|
|
|
[Chinese](zh-cn/plugins.md)
|
2019-09-03 13:32:41 +08:00
|
|
|
|
2019-10-23 15:14:55 +08:00
|
|
|
## Hot reload
|
2020-04-20 09:07:42 +08:00
|
|
|
|
2019-10-15 18:36:39 +08:00
|
|
|
APISIX plug-ins are hot-loaded. No matter you add, delete or modify plug-ins, you don't need to restart the service.
|
|
|
|
|
2020-11-03 13:46:24 +08:00
|
|
|
If your APISIX node has the Admin API turned on, just send an HTTP request through admin API:
|
2020-04-20 09:07:42 +08:00
|
|
|
|
2019-10-15 18:36:39 +08:00
|
|
|
```shell
|
2020-03-05 14:48:27 +08:00
|
|
|
curl http://127.0.0.1:9080/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT
|
2019-10-15 18:36:39 +08:00
|
|
|
```
|
2020-11-03 13:46:24 +08:00
|
|
|
|
|
|
|
### Hot reload in stand-alone mode
|
|
|
|
|
|
|
|
For stand-alone mode, see plugin related section in [stand alone mode](stand-alone.md).
|