season886 commented on issue #10795:
URL: https://github.com/apache/apisix/issues/10795#issuecomment-1891186654

   ```
   apisix:
     node_listen: 9080
     enable_ipv6: false
     enable_server_tokens: false
     enable_control: true
     control:
       ip: "0.0.0.0"
       port: 9092
   nginx_config:
     error_log: /log/error.log
     error_log_level: error
     worker_rlimit_nofile: 65535
     worker_cpu_affinity: auto
     worker_processes: auto
     enable_server_tokens: off
     event:
       worker_connections: 65536
       accept_mutex: off
     http:
       enable_access_log: true
       access_log: /log/access.log
     http_configuration_snippet: |
         default_type  application/octet-stream;
         server_names_hash_bucket_size 128;
         client_header_buffer_size 32k;
         large_client_header_buffers 4 32k;
         client_body_buffer_size 1024k;
         sendfile on;
         sendfile_max_chunk 512k;
         tcp_nodelay on;
         tcp_nopush off;
         proxy_buffer_size  64k;
         proxy_buffers   32 64k;
         proxy_busy_buffers_size 128k;
         fastcgi_connect_timeout 300;
         fastcgi_send_timeout 300;
         fastcgi_read_timeout 300;
         fastcgi_buffer_size 4k;
         fastcgi_buffers 16 256k;
         fastcgi_busy_buffers_size 512k;
         fastcgi_temp_file_write_size 512k;
         gzip on;
         gzip_min_length 1k;
         gzip_buffers 4 16k;
         gzip_http_version 1.1;
         gzip_comp_level 2;
         gzip_types text/plain application/javascript application/x-javascript 
text/javascript text/css application/xml application/xml+rss;
         gzip_vary on;
         gzip_proxied expired no-cache no-store private auth;
         gzip_disable "MSIE [1-6]\.";
         add_header X-Content-Type-Options nosniff;
   deployment:
     admin:
       allow_admin:
         - 0.0.0.0/0
       admin_listen:
         ip: 0.0.0.0
         port: 9180
       admin_key:
         - 
           name: admin
           key: ******
           role: admin
     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
   plugins:
     - log-rotate
   plugin_attr:
     prometheus:
       export_addr:
         ip: "0.0.0.0"
         port: 9091
     redirect:
       https_port: 443
     log-rotate:
       interval: 86400
       max_kept: 30   
       max_size: -1      
       enable_compression: true
   ```


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