-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed proxies list not displaying correctly
- Loading branch information
yusing
committed
Jan 4, 2025
1 parent
7b18f09
commit 17cd9c0
Showing
7 changed files
with
8 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,8 @@ | ||
import { HealthCheckConfig } from "./healthcheck_config"; | ||
import { IdleWatcherConfig } from "./idlewatcher_config"; | ||
import { LoadBalanceConfig } from "./loadbalance_config"; | ||
import { Raw } from "./raw"; | ||
|
||
/* | ||
type ReverseProxyEntry struct { // real model after validation | ||
Raw *RawEntry `json:"raw"` | ||
Alias fields.Alias `json:"alias"` | ||
Scheme fields.Scheme `json:"scheme"` | ||
URL net.URL `json:"url"` | ||
NoTLSVerify bool `json:"no_tls_verify,omitempty"` | ||
PathPatterns fields.PathPatterns `json:"path_patterns,omitempty"` | ||
HealthCheck *health.HealthCheckConfig `json:"healthcheck,omitempty"` | ||
LoadBalance *loadbalancer.Config `json:"load_balance,omitempty"` | ||
Middlewares docker.NestedLabelMap `json:"middlewares,omitempty"` | ||
Idlewatcher *idlewatcher.Config `json:"idlewatcher,omitempty"` | ||
} | ||
*/ | ||
|
||
export interface ReverseProxy { | ||
raw: Raw; | ||
alias: string; | ||
scheme: string; | ||
url: string; | ||
path_patterns?: string[]; | ||
healthcheck?: HealthCheckConfig; | ||
load_balance?: LoadBalanceConfig; | ||
middlewares?: Record<string, Record<string, any>>; | ||
idlewatcher?: IdleWatcherConfig; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters