Merge branch 'feat/add-proxy-protocol-support' into dev

This commit is contained in:
Owen 2025-10-26 18:16:38 -07:00
commit 560974f7d2
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
11 changed files with 218 additions and 40 deletions

View file

@ -128,7 +128,10 @@ export const resources = sqliteTable("resources", {
skipToIdpId: integer("skipToIdpId").references(() => idp.idpId, {
onDelete: "cascade"
}),
headers: text("headers") // comma-separated list of headers to add to the request
headers: text("headers"), // comma-separated list of headers to add to the request
proxyProtocol: integer("proxyProtocol", { mode: "boolean" }).notNull().default(false),
proxyProtocolVersion: integer("proxyProtocolVersion").default(1)
});
export const targets = sqliteTable("targets", {