From c046ffbceb15dd73694f768accf62001c3610e47 Mon Sep 17 00:00:00 2001 From: ZiYuan Date: Wed, 1 Dec 2021 14:50:08 +0800 Subject: [PATCH 1/2] fix typo Remove redundant quotation: `ephemeral_node_inactivity_timeout": "30m"` => `ephemeral_node_inactivity_timeout: "30m"` --- docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index f5e8c3f4..55ab56e5 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -28,7 +28,7 @@ derp_map_path: derp.yaml `derp_map_path` is the path to the [DERP](https://pkg.go.dev/tailscale.com/derp) map file. If the path is relative, it will be interpreted as relative to the directory the configuration file was read from. ```yaml -ephemeral_node_inactivity_timeout": "30m" +ephemeral_node_inactivity_timeout: "30m" ``` `ephemeral_node_inactivity_timeout` is the timeout after which inactive ephemeral node records will be deleted from the database. The default is 30 minutes. This value must be higher than 65 seconds (the keepalive timeout for the HTTP long poll is 60 seconds, plus a few seconds to avoid race conditions). From 07a437c7073d7e41ef30eabe1e9504634ddcaf53 Mon Sep 17 00:00:00 2001 From: Eugen Date: Wed, 1 Dec 2021 14:34:08 +0100 Subject: [PATCH 2/2] Add private_key_path to example config --- config-example.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config-example.yaml b/config-example.yaml index dc4bd579..692c605a 100644 --- a/config-example.yaml +++ b/config-example.yaml @@ -6,6 +6,10 @@ server_url: http://127.0.0.1:8080 # Address to listen to / bind to on the server listen_addr: 0.0.0.0:8080 +# Private key file which will be +# autogenerated if it's missing +private_key_path: private.key + derp: # List of externally available DERP maps encoded in JSON urls: