mirror of
https://github.com/fosrl/pangolin.git
synced 2026-10-03 03:09:06 +02:00
Add config options and badger options injection
This commit is contained in:
@@ -149,6 +149,8 @@ export const configSchema = z
|
||||
})
|
||||
.optional(),
|
||||
trust_proxy: z.int().gte(0).optional().default(1),
|
||||
trust_ips: z.array(z.string()).optional().default([]),
|
||||
custom_ip_header: z.string().optional().default(""),
|
||||
// Opt-in: have Traefik/Badger stamp the resolved client IP
|
||||
// into a dedicated header (X-Pangolin-Client-Ip) on the
|
||||
// site-resource AI gateway route, so it survives an
|
||||
|
||||
Reference in New Issue
Block a user