chore: add route backend skype tls verification

This commit is contained in:
Jonas Kaninda
2024-11-14 22:30:36 +01:00
parent e8878d795e
commit 88c0be1b63
3 changed files with 12 additions and 2 deletions

View File

@@ -148,8 +148,9 @@ type Route struct {
// Methods allowed method
Methods []string `yaml:"methods"`
// Destination Defines backend URL
Destination string `yaml:"destination"`
Backends []string `yaml:"backends"`
Destination string `yaml:"destination"`
Backends []string `yaml:"backends"`
InsecureSkipVerify bool `yaml:"insecureSkipVerify"`
// HealthCheck Defines the backend is health
HealthCheck RouteHealthCheck `yaml:"healthCheck"`
// Cors contains the route cors headers
@@ -243,6 +244,7 @@ type ProxyRoute struct {
methods []string
cors Cors
disableHostFording bool
insecureSkipVerify bool
}
type RoutePath struct {
route Route