31 lines
734 B
TOML
31 lines
734 B
TOML
# Glimmer Configuration
|
|
|
|
[server]
|
|
port = 8888
|
|
base_url = "http://luci.ooo"
|
|
read_timeout = "5s"
|
|
write_timeout = "10s"
|
|
# Only enable if behind a trusted reverse proxy that sets X-Forwarded-For.
|
|
# When false, the real connection IP is used for rate limiting (cannot be spoofed).
|
|
trust_proxy = false
|
|
# Maximum number of in-flight HTTP requests before returning 503. Tune down on
|
|
# very small hardware (e.g. RPi Zero) to bound memory/CPU use.
|
|
max_concurrent = 64
|
|
|
|
[admin]
|
|
username = "admin"
|
|
# REQUIRED — the server refuses to start without this.
|
|
# Generate a hash: ./glimmer --hash-password "your-password"
|
|
password_hash = ""
|
|
session_hours = 24
|
|
|
|
[mcp]
|
|
enabled = false
|
|
api_key = ""
|
|
|
|
[database]
|
|
path = "./data/urls.db"
|
|
|
|
[slugs]
|
|
length = 3
|