Extract peer real IP from Load Balancer when possible (#1510)

This commit is contained in:
Yury Gargay
2024-01-31 16:02:24 +01:00
committed by GitHub
parent b6835d9467
commit 93cab49696
5 changed files with 39 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
package server
import (
"net/netip"
"net/url"
"github.com/netbirdio/netbird/management/server/idp"
@@ -40,6 +41,8 @@ type Config struct {
HttpConfig *HttpServerConfig
TrustedHTTPProxies []netip.Prefix
IdpManagerConfig *idp.Config
DeviceAuthorizationFlow *DeviceAuthorizationFlow