description = "HTTP Tracker listener configuration"
display_mode = "complete"
name = "tracker_http_item"

[[elements]]
default = "0.0.0.0:7070"
help = "Format: <IP>:<PORT>. Standard port is 80 for HTTP, 443 for HTTPS"
name = "bind_address"
order = 1
placeholder = "0.0.0.0:7070"
prompt = "HTTP Bind Address"
required = true
type = "text"

[[elements]]
default = "http"
name = "protocol"
options = [
  { value = "http", label = "HTTP (unencrypted)" },
  { value = "https", label = "HTTPS (encrypted)" },
]
order = 2
prompt = "Protocol"
required = true
type = "select"

[[elements]]
default = "8"
help = "Number of concurrent worker threads"
name = "workers"
order = 3
placeholder = "8"
prompt = "Worker Threads"
required = false
type = "text"
