Reload APISIX config

Hot-reload APISIX configuration without downtime

apisix reload

tool
apisix16 commands
tags
apisixapi-gatewayreloadconfig

More apisix commands

  • curl -X PATCH http://apisix-admin:9180/apisix/admin/routes/1 \ -H "X-API-KEY: $ADMIN_KEY" \ -d '{"plugins":{"jwt-auth":{"header":"Authorization","query":"jwt"}}}'

    Add jwt-auth plugin to an existing route via Admin API

  • curl -s http://apisix:9180/apisix/admin/routes -H 'X-API-KEY: <key>' | jq '.list[].value | {id:.id, uri:.uri, upstream:.upstream.nodes}'

    List all APISIX routes with URI and upstream

  • curl -s http://apisix:9180/apisix/admin/routes/<id> -H 'X-API-KEY: <key>' | jq .

    Inspect a single APISIX route configuration

  • curl -s http://apisix:9180/apisix/admin/upstreams -H 'X-API-KEY: <key>' | jq '.list[].value | {id:.id, nodes:.nodes}'

    All APISIX upstream definitions with nodes

  • curl -s http://apisix:9180/apisix/admin/plugins/list -H 'X-API-KEY: <key>' | jq .

    All available APISIX plugins

all 16 apisix commands