mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-04 12:39:25 +09:00
types: move TLS config under tls with legacy fallback
tls.cert_path, tls.key_path and tls.acme.* replace the flat keys, which still work. Warn on them only when they turn TLS on: NixOS always sets them. Updates #2527
This commit is contained in:
1 parent
ee47638787
commit
dcc01dc2b0
7 files changed
+279
-106
No files matched your search
@@ -83,8 +83,9 @@ runs:
|
||||
nameservers:
|
||||
global:
|
||||
- 1.1.1.1
|
||||
tls_cert_path: /tmp/hs/tls.crt
|
||||
tls_key_path: /tmp/hs/tls.key
|
||||
tls:
|
||||
cert_path: /tmp/hs/tls.crt
|
||||
key_path: /tmp/hs/tls.key
|
||||
policy:
|
||||
mode: file
|
||||
path: /tmp/hs/policy.hujson
|
||||
|
||||
Reference in new issue
Block a user