membphis commented on issue #1280: request help: How do I enable the plug-in when using the standalone model(local yaml)? URL: https://github.com/apache/incubator-apisix/issues/1280#issuecomment-599855865 1. enable standalone model ``` diff --git a/conf/config.yaml b/conf/config.yaml index d9ee014..33c9d22 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -23,7 +23,7 @@ apisix: enable_dev_mode: true # Sets nginx worker_processes to 1 if set to true enable_reuseport: false # Enable nginx SO_REUSEPORT switch if set to true. enable_ipv6: true - config_center: etcd # etcd: use etcd to store the config value + config_center: yaml # etcd: use etcd to store the config value # yaml: fetch the config value from local yaml file `/your_path/conf/apisix.yaml` #proxy_protocol: # Proxy Protocol configuration ``` 2. start apisix 3. update conf/apisix.yaml , here is an example https://github.com/apache/incubator-apisix/blob/master/t/config-center-yaml/route.t#L45
---------------------------------------------------------------- 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] With regards, Apache Git Services
