mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Start adding comments to config
This commit is contained in:
parent
b85adbc40a
commit
4d4d0de356
1 changed files with 17 additions and 1 deletions
|
@ -1,11 +1,20 @@
|
||||||
---
|
---
|
||||||
|
# The url clients will connect to.
|
||||||
|
# Typically this will be a domain.
|
||||||
server_url: http://127.0.0.1:8080
|
server_url: http://127.0.0.1:8080
|
||||||
|
|
||||||
|
# Address to listen to / bind to on the server
|
||||||
listen_addr: 0.0.0.0:8080
|
listen_addr: 0.0.0.0:8080
|
||||||
|
|
||||||
|
# Path to WireGuard private key file
|
||||||
private_key_path: private.key
|
private_key_path: private.key
|
||||||
|
|
||||||
|
# Path to a file containing a map of DERP nodes.
|
||||||
derp_map_path: derp.yaml
|
derp_map_path: derp.yaml
|
||||||
|
|
||||||
ephemeral_node_inactivity_timeout: 30m
|
ephemeral_node_inactivity_timeout: 30m
|
||||||
|
|
||||||
# SQLite config (uncomment it if you want to use SQLite)
|
# SQLite config
|
||||||
db_type: sqlite3
|
db_type: sqlite3
|
||||||
db_path: db.sqlite
|
db_path: db.sqlite
|
||||||
|
|
||||||
|
@ -19,16 +28,23 @@ db_path: db.sqlite
|
||||||
|
|
||||||
acme_url: https://acme-v02.api.letsencrypt.org/directory
|
acme_url: https://acme-v02.api.letsencrypt.org/directory
|
||||||
acme_email: ""
|
acme_email: ""
|
||||||
|
|
||||||
tls_letsencrypt_hostname: ""
|
tls_letsencrypt_hostname: ""
|
||||||
tls_letsencrypt_listen: ":http"
|
tls_letsencrypt_listen: ":http"
|
||||||
tls_letsencrypt_cache_dir: ".cache"
|
tls_letsencrypt_cache_dir: ".cache"
|
||||||
tls_letsencrypt_challenge_type: HTTP-01
|
tls_letsencrypt_challenge_type: HTTP-01
|
||||||
|
|
||||||
tls_cert_path: ""
|
tls_cert_path: ""
|
||||||
tls_key_path: ""
|
tls_key_path: ""
|
||||||
|
|
||||||
|
# Path to a file containg ACL policies.
|
||||||
acl_policy_path: ""
|
acl_policy_path: ""
|
||||||
|
|
||||||
dns_config:
|
dns_config:
|
||||||
|
# Upstream DNS servers
|
||||||
nameservers:
|
nameservers:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
domains: []
|
domains: []
|
||||||
|
|
||||||
magic_dns: true
|
magic_dns: true
|
||||||
base_domain: example.com
|
base_domain: example.com
|
||||||
|
|
Loading…
Reference in a new issue