mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-01 20:39:36 +09:00
derp: pick the derp.paths format by file extension
Adds JSON and HuJSON maps. JSON read as YAML decoded to an empty map; unknown extensions and empty maps now fail at startup.
This commit is contained in:
committed by
Kristoffer Dalby
parent
d20a412079
commit
dd8ce695cf
+2
-1
@@ -114,7 +114,8 @@ derp:
|
||||
urls:
|
||||
- https://controlplane.tailscale.com/derpmap/default
|
||||
|
||||
# Locally available DERP map files encoded in YAML
|
||||
# Locally available DERP map files. The extension picks the format: .yaml/.yml,
|
||||
# or Tailscale JSON as .json or .hujson.
|
||||
#
|
||||
# This option is mostly interesting for people hosting their own DERP servers:
|
||||
# https://tailscale.com/docs/reference/derp-servers/custom-derp-servers
|
||||
|
||||
Reference in New Issue
Block a user