- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
33 lines
772 B
Plaintext
33 lines
772 B
Plaintext
# HTTP Server Default Values
|
|
# Common defaults for HTTP server settings across all services
|
|
|
|
let server_schema = import "../../schemas/common/server.ncl" in
|
|
|
|
{
|
|
server | server_schema.ServerConfig = {
|
|
# Local binding by default (security-first)
|
|
host = "127.0.0.1",
|
|
|
|
# Default to unprivileged port (actual port set per service)
|
|
port = 8080,
|
|
|
|
# Reasonable default worker count (can be overridden by mode)
|
|
workers = 4,
|
|
|
|
# Standard HTTP keep-alive
|
|
keep_alive = 75,
|
|
|
|
# Reasonable connection limit
|
|
max_connections = 100,
|
|
|
|
# Request timeout: 30 seconds
|
|
request_timeout = 30000,
|
|
|
|
# Enable graceful shutdown by default
|
|
graceful_shutdown = true,
|
|
|
|
# Graceful shutdown timeout: 30 seconds
|
|
shutdown_timeout = 30,
|
|
},
|
|
}
|