Where Does APISIX Store Config?
APISIX reads conf/config.yaml with routes in apisix.yaml or an etcd backend storage. Standalone mode uses local YAML files only.
Last updated
APISIX configures through YAML files plus an optional etcd backend. The main file sets listen ports and deployment mode. Routes live in apisix.yaml for standalone or in etcd for traditional mode.
Profiles select file variants per environment. Env vars override values without edits. Docker mounts the conf dir into the container, so keep host and container paths matched when moving.
Where APISIX stores this, by platform
conf/config.yaml (routes in conf/apisix.yaml or etcd at /apisix)
Main conf plus routes YAML or etcd backend. Profiles pick env variants. Mount conf dir in Docker. Restart after moving files.
Frequently asked questions
How do I migrate APISIX to a new server?
Copy config.yaml plus apisix.yaml and point the new host at the same etcd. Standalone mode needs only the YAML pair. Restart to load the moved files.
How do profiles change which files load?
Set profile env to pick prod or dev file variants. Defaults load config.yaml with apisix.yaml. Env vars override ports and hosts without editing files.
Notice an outdated path? Let us know.