headscale/config.json.postgres.example

26 lines
677 B
Text
Raw Permalink Normal View History

2020-06-21 10:32:08 +00:00
{
"server_url": "http://127.0.0.1:8080",
"listen_addr": "0.0.0.0:8080",
2020-06-21 10:32:08 +00:00
"private_key_path": "private.key",
"derp_map_path": "derp.yaml",
"ephemeral_node_inactivity_timeout": "30m",
"db_type": "postgres",
2020-06-21 10:32:08 +00:00
"db_host": "localhost",
"db_port": 5432,
"db_name": "headscale",
"db_user": "foo",
"db_pass": "bar",
"tls_letsencrypt_hostname": "",
"tls_letsencrypt_listen": ":http",
"tls_letsencrypt_cache_dir": ".cache",
"tls_letsencrypt_challenge_type": "HTTP-01",
"tls_cert_path": "",
2021-07-04 11:41:38 +00:00
"tls_key_path": "",
"acl_policy_path": "",
"dns_config": {
"nameservers": [
"1.1.1.1"
]
}
}