2020-06-21 06:32:08 -04:00
|
|
|
{
|
2021-07-30 11:07:19 -04:00
|
|
|
"server_url": "http://127.0.0.1:8080",
|
|
|
|
"listen_addr": "0.0.0.0:8080",
|
2020-06-21 06:32:08 -04:00
|
|
|
"private_key_path": "private.key",
|
2021-04-22 21:10:50 -04:00
|
|
|
"derp_map_path": "derp.yaml",
|
2021-05-22 20:15:29 -04:00
|
|
|
"ephemeral_node_inactivity_timeout": "30m",
|
2021-05-15 08:36:13 -04:00
|
|
|
"db_type": "postgres",
|
2020-06-21 06:32:08 -04:00
|
|
|
"db_host": "localhost",
|
|
|
|
"db_port": 5432,
|
|
|
|
"db_name": "headscale",
|
|
|
|
"db_user": "foo",
|
2021-04-23 16:54:35 -04:00
|
|
|
"db_pass": "bar",
|
2021-10-03 14:26:38 -04:00
|
|
|
"acme_url": "https://acme-v02.api.letsencrypt.org/directory",
|
|
|
|
"acme_email": "",
|
2021-04-23 22:54:15 -04:00
|
|
|
"tls_letsencrypt_hostname": "",
|
2021-07-23 18:12:01 -04:00
|
|
|
"tls_letsencrypt_listen": ":http",
|
2021-04-23 22:54:15 -04:00
|
|
|
"tls_letsencrypt_cache_dir": ".cache",
|
|
|
|
"tls_letsencrypt_challenge_type": "HTTP-01",
|
2021-04-23 16:54:35 -04:00
|
|
|
"tls_cert_path": "",
|
2021-07-04 07:41:38 -04:00
|
|
|
"tls_key_path": "",
|
2021-08-24 02:10:09 -04:00
|
|
|
"acl_policy_path": "",
|
|
|
|
"dns_config": {
|
|
|
|
"nameservers": [
|
|
|
|
"1.1.1.1"
|
2021-10-02 05:11:18 -04:00
|
|
|
],
|
|
|
|
"domains": [],
|
|
|
|
"magic_dns": true,
|
|
|
|
"base_domain": "example.com"
|
2021-08-24 02:10:09 -04:00
|
|
|
}
|
2021-04-22 21:10:50 -04:00
|
|
|
}
|