overstarry commented on issue #8929:
URL: https://github.com/apache/apisix/issues/8929#issuecomment-1442695866

   apisix config:
   ```
   apisix:
     node_listen: 9080 # APISIX listening port
     enable_ipv6: false
   
   deployment:
     admin:
       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_listen:
         port: 9180
       admin_key:
         - name: "xxxx"
           key: xx
           role: admin
     ssl:
       listen:
         - port: 9443
   
     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_addr:
         ip: "0.0.0.0"
         port: 9091
     log-rotate:
       interval: 604800 # rotate interval (unit: second)
       max_kept: 365 # max number of log files will be kept
       enable_compression: false # enable log file compression(gzip) or not, 
default false
   
   ```


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