rpei2022 commented on issue #6743:
URL: https://github.com/apache/apisix/issues/6743#issuecomment-1128652789

   @soulbird 
   apisix:
     node_listen: 9080             # APISIX listening port
     enable_heartbeat: true
     enable_admin: true
     enable_admin_cors: true
     enable_debug: false
   
     enable_dev_mode: false                       # Sets nginx worker_processes 
to 1 if set to true
     enable_reuseport: true                       # Enable nginx SO_REUSEPORT 
switch if set to true.
     enable_ipv6: false                                # Enable nginx IPv6 
resolver
     extra_lua_path: "/opt/apisix/third/?.lua"
   
     allow_admin:                  # 
http://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
                                     # viewer: only can view configuration data
       - name: "viewer"
         key: 4054f7cf07e344346cd3f287985e76a2
         role: viewer
     port_admin: 9180
     
     enable_control: true
     control:
       ip: "0.0.0.0"
       port: 9092
   nginx_config:
     error_log_level: "warn"
   
   etcd:
     host:                           # it's possible to define multiple etcd 
hosts addresses of the same etcd cluster.
       - "http://etcd:2379";     # multiple etcd address
     prefix: "/apisix"               # apisix configurations prefix
     timeout: 30                     # 30 seconds
   
   plugin_attr:
     prometheus:
       export_uri: /apigateway/prometheus/metrics
       metric_prefix: apigateway_
       enable_export_server: true
       export_addr:
         ip: "0.0.0.0"
         port: 9091
   plugins:                          # plugin list
     - api-breaker
     - authz-keycloak
                                     # receive http request with proxy protocol
     - basic-auth
     - batch-requests
     - consumer-restriction
     - cors
     - echo
     - fault-injection
     - grpc-transcode
     - hmac-auth
     - http-logger
     - ip-restriction
     - ua-restriction
     - jwt-auth
     - kafka-logger
     - key-auth
     - limit-conn
     - limit-count
     - limit-req
     - node-status
     - openid-connect
     - authz-casbin
     - prometheus
     - proxy-cache
     - proxy-mirror
     - proxy-rewrite
     - redirect
     - referer-restriction
     - request-id
     - request-validation
     - response-rewrite
     - serverless-post-function
     - serverless-pre-function
     - sls-logger
     - syslog
     - tcp-logger
     - udp-logger
     - uri-blocker
     - wolf-rbac
     - zipkin
     - traffic-split
     - gzip
     - real-ip
     - example-plugin
   stream_plugins:
     - mqtt-proxy
     - ip-restriction
     - limit-conn
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to