{ "id": "limit", "order": 3, "name": "Limit", "description": "Limit maximum number of requests and connections.", "version": "0.1", "settings": { "USE_LIMIT_REQ": { "context": "multisite", "default": "yes", "help": "Activate limit requests feature.", "id": "use-limit-req", "label": "Activate limit requests", "regex": "^(yes|no)$", "type": "check" }, "LIMIT_REQ_URL": { "context": "multisite", "default": "/", "help": "URL where the limit request will be applied.", "id": "limit-req-url", "label": "URL", "regex": "^.*$", "type": "text", "multiple": "limit-req" }, "LIMIT_REQ_RATE": { "context": "multisite", "default": "2r/s", "help": "Rate to apply to the URL (s for second, m for minute, h for hour and d for day).", "id": "limit-req-rate", "label": "Rate", "regex": "^.*$", "type": "text", "multiple": "limit-req" }, "USE_LIMIT_CONN": { "context": "multisite", "default": "yes", "help": "Activate limit connections feature.", "id": "use-limit-conn", "label": "Activate limit connections", "regex": "^(yes|no)$", "type": "check" }, "LIMIT_CONN_MAX_HTTP1": { "context": "multisite", "default": "10", "help": "Maximum number of connections per IP when using HTTP/1.X protocol.", "id": "limit-conn-max-http1", "label": "Maximum number of HTTP/1.X connections", "regex": "^.*$", "type": "text" }, "LIMIT_CONN_MAX_HTTP2": { "context": "multisite", "default": "100", "help": "Maximum number of streams per IP when using HTTP/2 protocol.", "id": "limit-conn-max-http2", "label": "Maximum number of HTTP/2 streams", "regex": "^.*$", "type": "text" } } }