mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-27 06:35:52 -05:00
69d77f6e9d
Currently the default (and non-configurable) Let's Encrypt listener will bind to all IPs. This isn't ideal if we want to run headscale on a specific IP only. This also allows for one to set the listener to something other than port 80. This is useful for OSs like OpenBSD which only allow root to bind the lower port ranges (and don't have `setcap`) as we can now run `headscale` as a non-privileged user while still using the baked in ACME magic. Obviously this configuration would also require a reverse proxy or firewall rule to redirect traffic. I attempted to outline that in the README change.
17 lines
499 B
Plaintext
17 lines
499 B
Plaintext
{
|
|
"server_url": "http://127.0.0.1:8000",
|
|
"listen_addr": "0.0.0.0:8000",
|
|
"private_key_path": "private.key",
|
|
"derp_map_path": "derp.yaml",
|
|
"ephemeral_node_inactivity_timeout": "30m",
|
|
"db_type": "sqlite3",
|
|
"db_path": "db.sqlite",
|
|
"tls_letsencrypt_hostname": "",
|
|
"tls_letsencrypt_listen": ":http",
|
|
"tls_letsencrypt_cache_dir": ".cache",
|
|
"tls_letsencrypt_challenge_type": "HTTP-01",
|
|
"tls_cert_path": "",
|
|
"tls_key_path": "",
|
|
"acl_policy_path": ""
|
|
}
|