pangolin/server/setup
Owen f44148c687
Leave local sites on remote exit nodes alone
Remote exit nodes get their Traefik config from /hybrid/traefik-config
with local sites included, and dial those targets inside the customer's
own network, where localhost targets are normal. The previous commit
applied the local-site restrictions to them too.

- createSite only checks flags.disable_local_sites, not
  traefik.site_types (SaaS has ["newt"] centrally but serves local sites
  through remote exit nodes).
- Target validation for local sites runs only when Pangolin's own Traefik
  serves the site (no exit node or a non-remote exit node), in
  createTarget, updateTarget and blueprints.
- The private Traefik config skips bad local targets only when the config
  is not for a remote exit node.
- Migration notes updated, including a query that excludes remote-node
  sites.

PAN-1885
2026-11-25 21:17:58 -05:00
..
migrationNotes Leave local sites on remote exit nodes alone 2026-11-25 21:17:58 -05:00
scriptsPg add migration 2026-11-20 14:36:47 -05:00
scriptsSqlite add migration 2026-11-20 14:36:47 -05:00
.gitignore Setting up drizzle and fix site not showing in private resource 2026-02-12 12:05:15 -08:00
clearStaleData.ts Revalidate OIDC sessions with the IdP using refresh tokens 2026-10-29 11:33:30 +01:00
copyInConfig.ts Propogated Changes. listen port is now accessed from db instead of config 2026-10-06 18:21:05 -06:00
ensureActions.ts Dont run on cloud 2026-07-01 22:07:33 -04:00
ensureRootApiKey.ts Remove debug log 2026-04-20 17:05:47 -07:00
ensureSetupToken.ts Properly insert PANGOLIN_SETUP_TOKEN into db 2026-01-28 15:03:31 -08:00
index.ts Add ability to predefine a root api key 2026-04-20 12:19:21 -07:00
migrationsPg.ts add migration 2026-11-20 14:36:47 -05:00
migrationsSqlite.backup.test.ts fix(sqlite): tag per-migration database backups with version and prevent collisions 2026-09-18 21:31:00 +05:30
migrationsSqlite.ts add migration 2026-11-20 14:36:47 -05:00