32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
server:
|
|
listenAddress: ":80"
|
|
exposedAddress: "birdy.greact.online:50051" # без схемы
|
|
stunPorts:
|
|
- 3478
|
|
logLevel: "info"
|
|
logFile: "console"
|
|
authSecret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
|
dataDir: "/var/lib/netbird"
|
|
|
|
auth: # вложено под server
|
|
issuer: "https://birdy.greact.online/oauth2"
|
|
localAuthDisabled: false
|
|
signKeyRefreshEnabled: true
|
|
dashboardRedirectURIs:
|
|
- "https://birdy.greact.online/nb-auth"
|
|
- "https://birdy.greact.online/nb-silent-auth"
|
|
cliRedirectURIs:
|
|
- "http://localhost:53000/"
|
|
|
|
reverseProxy:
|
|
trustedHTTPProxies:
|
|
- "172.16.0.0/12" # Docker-подсеть (покрывает NPM-контейнер в сети proxy)
|
|
|
|
store: # вложено под server
|
|
engine: "sqlite"
|
|
encryptionKey: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
|
|
|
relay:
|
|
exposedAddress: "rel://birdy.greact.online:33080" # отдельный адрес для relay
|
|
secret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|