# Extension Registry Server Configuration Fragment

[[elements]]
border_bottom = false
border_top = true
name = "registry_server_header"
title = "🖥️ Server Configuration"
type = "section_header"

[[elements]]
default = "0.0.0.0"
help = "HTTP server bind address"
name = "registry_server_host"
nickel_path = ["extension_registry", "server", "host"]
prompt = "Server Host"
required = true
type = "text"

[[elements]]
default = 8081
help = "HTTP server port (range: 1024-65535)"
max = 65535
min = 1024
name = "registry_server_port"
nickel_path = ["extension_registry", "server", "port"]
prompt = "Server Port"
required = true
type = "number"

[[elements]]
default = 4
help = "Number of HTTP worker threads"
max = 32
min = 1
name = "registry_server_workers"
nickel_path = ["extension_registry", "server", "workers"]
prompt = "Worker Threads"
required = true
type = "number"

[[elements]]
default = false
help = "Enable CORS for cross-origin requests"
name = "registry_server_cors_enabled"
nickel_path = ["extension_registry", "server", "cors_enabled"]
prompt = "Enable CORS"
type = "confirm"

[[elements]]
default = true
help = "Enable response compression"
name = "registry_server_compression"
nickel_path = ["extension_registry", "server", "compression"]
prompt = "Enable Compression"
type = "confirm"
