mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 14:16:29 +09:00
derp: reject unknown keys in derp.paths files
SaaS rejects them in a policy derpMap; a misspelt key silently did nothing. Updates #2918
This commit is contained in:
1 parent
00f9373246
commit
e358a539af
6 files changed
+56
-9
No files matched your search
+2
-1
@@ -57,7 +57,8 @@ The DERP map offered to clients can be customized with a [dedicated YAML-configu
|
||||
file](https://github.com/juanfont/headscale/blob/main/derp-example.yaml). The file extension picks the format: `.yaml`
|
||||
or `.yml`, or the JSON format Tailscale serves DERP maps in as `.json` or `.hujson`. Both JSON extensions are read as
|
||||
[HuJSON](https://github.com/tailscale/hujson), so comments and trailing commas are allowed. This allows to modify previously
|
||||
loaded DERP maps fetched via URL or to offer your own, custom DERP servers to nodes.
|
||||
loaded DERP maps fetched via URL or to offer your own, custom DERP servers to nodes. A key that has no field in
|
||||
[DERPMap](https://pkg.go.dev/tailscale.com/tailcfg#DERPMap) stops headscale from starting.
|
||||
|
||||
=== "Remove specific DERP regions"
|
||||
|
||||
|
||||
Reference in new issue
Block a user