griffenliu commented on issue #2634:
URL: https://github.com/apache/apisix/issues/2634#issuecomment-722917462
> > @membphis
> > Should we use the same `config-default.yaml` for different profiles?
>
> for `config-default.yaml`, only one version. we use the same
`config-default.yaml` for different profiles.
But when i use the apisix version 2.0 and profile is dev. when apisix
start, it required config-default-dev.yaml.
```
local function read_yaml_conf()
local profile = require("apisix.core.profile")
profile.apisix_home = apisix_home .. "/"
local local_conf_path = profile:yaml_path("config-default")
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]