1
0
Fork 0

Update config.yaml

This commit is contained in:
okxlin 2024-02-04 10:36:50 +08:00 committed by GitHub
parent bd257e9834
commit a4e8f793f2
1 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@
# #
# https://myheadscale.example.com:443 # https://myheadscale.example.com:443
# #
server_url: https://myheadscale.example.com:443 server_url: https://myheadscale.example.com:443 #提示:最终的服务器连接,改我
# Address to listen to / bind to on the server # Address to listen to / bind to on the server
# #
@ -107,8 +107,8 @@ derp:
# paths: # paths:
# - /etc/headscale/derp-example.yaml # - /etc/headscale/derp-example.yaml
paths: [] paths: []
#paths: #paths: #提示这个区域取消注释则启用derp转发配置然后要把上一行加#号注释掉
# - /etc/headscale/derp.yaml # - /etc/headscale/derp.yaml #提示这个区域取消注释则启用derp转发配置
# If enabled, a worker will be set up to periodically # If enabled, a worker will be set up to periodically
# refresh the given sources and update the derpmap # refresh the given sources and update the derpmap
@ -207,7 +207,7 @@ dns_config:
override_local_dns: false override_local_dns: false
# List of DNS servers to expose to clients. # List of DNS servers to expose to clients.
nameservers: nameservers: #提示这里是DNS相关自己考虑要不要改
- 223.5.5.5 - 223.5.5.5
- 1.1.1.1 - 1.1.1.1
@ -255,7 +255,7 @@ dns_config:
# `base_domain` must be a FQDNs, without the trailing dot. # `base_domain` must be a FQDNs, without the trailing dot.
# The FQDN of the hosts will be # The FQDN of the hosts will be
# `hostname.user.base_domain` (e.g., _myhost.myuser.example.com_). # `hostname.user.base_domain` (e.g., _myhost.myuser.example.com_).
base_domain: example.com base_domain: example.com #提示tailscale局域网的自定义域名随便设置
# Unix socket used for the CLI to connect without authentication # Unix socket used for the CLI to connect without authentication
# Note: for production you will want to set this to something like: # Note: for production you will want to set this to something like: