Configuration Files
API7 Gateway provides the following configuration files in the /conf directory:
config-default.yaml: Contains the default configuration values and inline comments for reference.config.yaml: Used for user-defined custom configurations.
By default, API7 Gateway loads settings from config-default.yaml, which should not be modified. This file serves as a reference and defines the default behavior of the system.
To customize the configuration, add or override settings in config.yaml. Any configuration defined in config.yaml takes precedence over the corresponding values in config-default.yaml.
Customize Configuration
API7 Gateway loads the configuration file only at startup. To apply configuration changes, modify config.yaml (which overrides the default settings in config-default.yaml) and reload the gateway.
If you are running the gateway in Docker, the configuration file can be located at /usr/local/apisix/conf/config.yaml.
Reload the gateway container after any modifications for changes to take effect:
docker exec {gateway_container_name} apisix reload