mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-17 12:15:22 +09:00
If the configuration file contains relative paths (e.g. in the values
for private_key_path or derp_map_path), interpret them as relative to the directory where the config.json file was read from.
This commit is contained in:
1 parent
9c40e829ec
commit
683b151f19
2 files changed
+18
-4
No files matched your search
+2
-2
@@ -2,10 +2,10 @@
|
||||
"server_url": "http://192.168.1.12:8000",
|
||||
"listen_addr": "0.0.0.0:8000",
|
||||
"private_key_path": "private.key",
|
||||
"derp_map_path": "./derp.yaml",
|
||||
"derp_map_path": "derp.yaml",
|
||||
"db_host": "localhost",
|
||||
"db_port": 5432,
|
||||
"db_name": "headscale",
|
||||
"db_user": "foo",
|
||||
"db_pass": "bar"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user