From e49c0e88622eb4f8b63d389aac783ce8b72eb1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Nogu=C3=AAs?= <49420+diegocn@users.noreply.github.com> Date: Tue, 17 Feb 2026 17:37:44 +0100 Subject: [PATCH] [infrastructure] Proxy infra changes (#5365) * chore: remove docker extra_hosts settings * chore: remove unnecessary envc from proxy.env --- infrastructure_files/getting-started.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/infrastructure_files/getting-started.sh b/infrastructure_files/getting-started.sh index dc5d53504..7fd87ee8e 100755 --- a/infrastructure_files/getting-started.sh +++ b/infrastructure_files/getting-started.sh @@ -577,9 +577,6 @@ render_docker_compose_traefik_builtin() { proxy: image: $NETBIRD_PROXY_IMAGE container_name: netbird-proxy - # Hairpin NAT fix: route domain back to traefik's static IP within Docker - extra_hosts: - - \"$NETBIRD_DOMAIN:$TRAEFIK_IP\" ports: - 51820:51820/udp restart: unless-stopped @@ -822,9 +819,6 @@ NB_PROXY_TOKEN=$PROXY_TOKEN NB_PROXY_CERTIFICATE_DIRECTORY=/certs NB_PROXY_ACME_CERTIFICATES=true NB_PROXY_ACME_CHALLENGE_TYPE=tls-alpn-01 -NB_PROXY_OIDC_CLIENT_ID=netbird-proxy -NB_PROXY_OIDC_ENDPOINT=$NETBIRD_HTTP_PROTOCOL://$NETBIRD_DOMAIN/oauth2 -NB_PROXY_OIDC_SCOPES=openid,profile,email NB_PROXY_FORWARDED_PROTO=https # Enable PROXY protocol to preserve client IPs through L4 proxies (Traefik TCP passthrough) NB_PROXY_PROXY_PROTOCOL=true