mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-20 12:24:32 +09:00
Configuration keys now match only as written, in lower case. BREAKING: Server_URL is an unknown key, where 0.29 and the previous commits ignored case. Each key has one spelling, the one the dump prints. Open-map entry names keep their own rule: split DNS domains and provider settings are lowercased, oidc.extra_params keeps case. Updates #1926
13 lines
664 B
Bash
13 lines
664 B
Bash
HEADSCALE_SERVER_URL=https://hs.example.com
|
|
HEADSCALE_NOISE_PRIVATE_KEY_PATH=/var/lib/headscale/noise.key
|
|
HEADSCALE_PREFIXES_V4=100.64.0.0/10
|
|
HEADSCALE_DATABASE_TYPE=sqlite
|
|
HEADSCALE_DATABASE_SQLITE_PATH=/var/lib/headscale/db.sqlite
|
|
HEADSCALE_DNS_MAGIC_DNS=false
|
|
HEADSCALE_DNS_OVERRIDE_LOCAL_DNS=false
|
|
# Map keys as in a file: split domains and DNS provider settings are
|
|
# lowercased, OIDC extra params keep their case.
|
|
HEADSCALE_DNS_NAMESERVERS_SPLIT={"Corp.Example.COM":["10.0.0.1"]}
|
|
HEADSCALE_OIDC_EXTRA_PARAMS={"Domain_Hint":"example.com","domain_hint":"other.example.com"}
|
|
HEADSCALE_DNS_CHALLENGE_PROVIDER={"NAME":"cloudflare","API_TOKEN":"marker-api-token"}
|