headscale/config.yaml.sqlite.example

44 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-10-19 18:17:08 -04:00
---
2021-10-22 12:55:14 -04:00
log_level: info
2021-10-19 18:17:08 -04:00
server_url: http://127.0.0.1:8080
listen_addr: 0.0.0.0:8080
private_key_path: private.key
ephemeral_node_inactivity_timeout: 30m
# SQLite config (uncomment it if you want to use SQLite)
db_type: sqlite3
db_path: db.sqlite
2021-10-19 18:17:08 -04:00
2021-10-22 12:55:14 -04:00
derp:
# List of externally available DERP maps encoded in JSON
urls:
- https://controlplane.tailscale.com/derpmap/default
# Locally available DERP map files encoded in YAML
paths:
- derp-example.yaml
# If enabled, a worker will be set up to periodically
# refresh the given sources and update the derpmap
# will be set up.
auto_update_enabled: true
# How often should we check for updates?
update_frequency: 24h
2021-10-19 18:17:08 -04:00
acme_url: https://acme-v02.api.letsencrypt.org/directory
2021-10-22 12:55:14 -04:00
acme_email: ""
tls_letsencrypt_hostname: ""
2021-10-19 18:17:08 -04:00
tls_letsencrypt_listen: ":http"
tls_letsencrypt_cache_dir: ".cache"
tls_letsencrypt_challenge_type: HTTP-01
2021-10-22 12:55:14 -04:00
tls_cert_path: ""
tls_key_path: ""
acl_policy_path: ""
2021-10-19 18:17:08 -04:00
dns_config:
nameservers:
2021-10-22 12:55:14 -04:00
- 1.1.1.1
2021-10-19 18:17:08 -04:00
domains: []
magic_dns: true
base_domain: example.com