# Gateway for the starter's explicit accepted-memory broker settings. daemon off; worker_processes 2; error_log /dev/stderr notice; pid /run/nginz-iot/nginz.pid; events { worker_connections 1024; } stream { server { listen 1883; mqtt_preread on; mqtt_iotd on; mqtt_iotd_operating_profile live_fast; mqtt_iotd_rings /nginz-iot-docker 4096 8192 8192 1 1; } } http { limit_req_zone $binary_remote_addr zone=panel_read_per_ip:2m rate=30r/s; limit_req_zone $binary_remote_addr zone=panel_mutation_per_ip:2m rate=2r/s; limit_conn_zone $binary_remote_addr zone=panel_conn_per_ip:2m; server { listen 8080; include /etc/nginz/nginz-panel-public.conf; } }