zimbres commented on issue #9931:
URL: https://github.com/apache/apisix/issues/9931#issuecomment-1657459258

   This is the full config.yml, so, I supose the other parameters are using 
some default.
   
   ```
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: apisix
   data:
     config.yaml: |-
       apisix:
         node_listen: 9080              # APISIX listening port
         enable_ipv6: false
   
       deployment:
         admin:
           allow_admin:               # 
https://nginx.org/en/docs/http/ngx_http_access_module.html#allow
             - 0.0.0.0/0              # We need to restrict ip access rules for 
security. 0.0.0.0/0 is for test.
   
           admin_key:
             - name: "admin"
               key: edd1c9f034335f136f87ad84b625c8f1
               role: admin                 # admin: manage all configuration 
data
   
         etcd:
           host:                           # it's possible to define multiple 
etcd hosts addresses of the same etcd cluster.
             - "http://etcd.etcd.svc.cluster.local:2379";          # multiple 
etcd address
           prefix: "/apisix"               # apisix configurations prefix
           timeout: 30                     # 30 seconds
   
       plugin_attr: 
         redirect:                         # Plugin: redirect
           https_port: 443                # Set the default port used to 
redirect HTTP to HTTPS.
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to