Обновить config.yaml
This commit is contained in:
10
config.yaml
10
config.yaml
@@ -1,6 +1,6 @@
|
|||||||
server:
|
server:
|
||||||
listenAddress: ":80"
|
listenAddress: ":80"
|
||||||
exposedAddress: "grpc://birdy.greact.online:50051"
|
exposedAddress: "birdy.greact.online:50051" # без схемы
|
||||||
stunPorts:
|
stunPorts:
|
||||||
- 3478
|
- 3478
|
||||||
logLevel: "info"
|
logLevel: "info"
|
||||||
@@ -8,7 +8,7 @@ server:
|
|||||||
authSecret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
authSecret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
||||||
dataDir: "/var/lib/netbird"
|
dataDir: "/var/lib/netbird"
|
||||||
|
|
||||||
auth: # ← вложено под server
|
auth: # вложено под server
|
||||||
issuer: "https://birdy.greact.online/oauth2"
|
issuer: "https://birdy.greact.online/oauth2"
|
||||||
localAuthDisabled: false
|
localAuthDisabled: false
|
||||||
signKeyRefreshEnabled: true
|
signKeyRefreshEnabled: true
|
||||||
@@ -22,6 +22,10 @@ server:
|
|||||||
trustedHTTPProxies:
|
trustedHTTPProxies:
|
||||||
- "172.16.0.0/12" # Docker-подсеть (покрывает NPM-контейнер в сети proxy)
|
- "172.16.0.0/12" # Docker-подсеть (покрывает NPM-контейнер в сети proxy)
|
||||||
|
|
||||||
store: # ← вложено под server
|
store: # вложено под server
|
||||||
engine: "sqlite"
|
engine: "sqlite"
|
||||||
encryptionKey: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
encryptionKey: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
||||||
|
|
||||||
|
relay:
|
||||||
|
exposedAddress: "rel://birdy.greact.online:33080" # отдельный адрес для relay
|
||||||
|
secret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
||||||
|
|||||||
Reference in New Issue
Block a user