add header auth cache to proxy

This commit is contained in:
pascal
2026-08-10 16:47:01 +02:00
parent f9abe2727f
commit ca6a71a0c8
8 changed files with 740 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ const (
SessionJWTIssuer = "netbird-management"
)
const ClientIPMetadataKey = "nb-client-ip"
// ResolveProto determines the protocol scheme based on the forwarded proto
// configuration. When set to "http" or "https" the value is used directly.
// Otherwise TLS state is used: if conn is non-nil "https" is returned, else "http".