mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 07:11:31 +00:00
basic setup for rewriting requests to another path
This commit is contained in:
parent
70914e836f
commit
149a4b916b
8 changed files with 557 additions and 145 deletions
|
|
@ -135,7 +135,9 @@ export const targets = sqliteTable("targets", {
|
|||
internalPort: integer("internalPort"),
|
||||
enabled: integer("enabled", { mode: "boolean" }).notNull().default(true),
|
||||
path: text("path"),
|
||||
pathMatchType: text("pathMatchType") // exact, prefix, regex
|
||||
pathMatchType: text("pathMatchType"), // exact, prefix, regex
|
||||
rewritePath: text("rewritePath"), // if set, rewrites the path to this value before sending to the target
|
||||
rewritePathType: text("rewritePathType") // exact, prefix, regex, stripPrefix
|
||||
});
|
||||
|
||||
export const exitNodes = sqliteTable("exitNodes", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue