mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 12:19:43 +00:00
UI and backend update to add proxy protocol support
This commit is contained in:
parent
c1bb029a1c
commit
b5a931c96e
3 changed files with 147 additions and 27 deletions
|
|
@ -114,7 +114,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", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue