RoadSign/settings.toml
2024-10-18 23:21:51 +08:00

38 lines
580 B
TOML

id = "central"
[debug]
print_routes = false
[sideload]
ports = [":81"]
secured_ports = []
trusted_proxies = ["localhost"]
[hypertext]
ports = [":8000"]
secured_ports = []
force_https = false
# [[hypertext.certificate]]
# key = "./certs/privkey.pem"
# pem = "./certs/fullchain.pem"
[hypertext.limitation]
max_body_size = 549_755_813_888 # 512 GiB
max_qps = -1
[paths]
configs = "./config"
[telemetry]
request_logging = true
capture_traces = true
[performance]
low_memory = true
traces_limit = 256
prefork = false
[security]
credential = "e81f43f32d934271af6322e5376f5f59"