mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 21:30:36 -05:00
[PR #2570] [MERGED] fix: local targets ignored when newt site is unhealthy (mixed target failover) #3035
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2570
Author: @Fizza-Mukhtar
Created: 3/1/2026
Status: ✅ Merged
Merged: 3/1/2026
Merged by: @oschwartz10612
Base:
main← Head:fix/mixed-target-failover-2448📝 Commits (2)
f36cf06fix: fallback to local targets when newt targets are unhealthye63a6e9fix: treat local and wireguard sites as online for failover📊 Changes
2 files changed (+18 additions, -6 deletions)
View changed files
📝
server/lib/traefik/getTraefikConfig.ts(+10 -4)📝
server/private/lib/traefik/getTraefikConfig.ts(+8 -2)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Fixes #2448
Problem
Local targets were ignored when Newt targets became unhealthy because
local sites always have online=false and were excluded by the anySitesOnline check.
Fix
Added early return for local site type in the target filter so they are
always considered available as fallback servers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.