Yiyiyimu commented on a change in pull request #2101: URL: https://github.com/apache/apisix/pull/2101#discussion_r517136760
########## File path: doc/architecture-design.md ########## @@ -45,15 +45,17 @@ ## APISIX Config -For example, set the default listening port of APISIX to 8000, and keep other configurations as default. The configuration in `conf/config.yaml` should be like this: +There are two methods to configure APISIX: directly change `conf/config.yaml`, or add file path argument when start APISIX like `apisix start -c /opts/apisix/config.yaml` + +For example, set the default listening port of APISIX to 8000, and keep other configurations as default. The configuration in `config.yaml` should be like this: ```yaml apisix: node_listen: 8000 # APISIX listening port ``` Set the default listening port of APISIX to 8000, set the `etcd` address to `http://foo:2379`, -and keep other configurations as default. The configuration in `conf/config.yaml` should be like this: Review comment: I think since config.yaml in `conf` folder is not the only choice, we could remove this Do you think removing it will make users could not find the config file? ---------------------------------------------------------------- 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]
