mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-12-21 14:57:00 +01:00
Fixed format issues
This commit is contained in:
@@ -47,24 +47,24 @@ func GetDefaultProxyEndpoint() ProxyEndpoint {
|
|||||||
randomPrefix := uuid.New().String()
|
randomPrefix := uuid.New().String()
|
||||||
return ProxyEndpoint{
|
return ProxyEndpoint{
|
||||||
ProxyType: ProxyTypeHost,
|
ProxyType: ProxyTypeHost,
|
||||||
RootOrMatchingDomain: randomPrefix + ".internal",
|
RootOrMatchingDomain: randomPrefix + ".internal",
|
||||||
MatchingDomainAlias: []string{},
|
MatchingDomainAlias: []string{},
|
||||||
ActiveOrigins: []*loadbalance.Upstream{},
|
ActiveOrigins: []*loadbalance.Upstream{},
|
||||||
InactiveOrigins: []*loadbalance.Upstream{},
|
InactiveOrigins: []*loadbalance.Upstream{},
|
||||||
UseStickySession: false,
|
UseStickySession: false,
|
||||||
UseActiveLoadBalance: false,
|
UseActiveLoadBalance: false,
|
||||||
Disabled: false,
|
Disabled: false,
|
||||||
BypassGlobalTLS: false,
|
BypassGlobalTLS: false,
|
||||||
VirtualDirectories: []*VirtualDirectoryEndpoint{},
|
VirtualDirectories: []*VirtualDirectoryEndpoint{},
|
||||||
HeaderRewriteRules: GetDefaultHeaderRewriteRules(),
|
HeaderRewriteRules: GetDefaultHeaderRewriteRules(),
|
||||||
EnableWebsocketCustomHeaders: false,
|
EnableWebsocketCustomHeaders: false,
|
||||||
AuthenticationProvider: GetDefaultAuthenticationProvider(),
|
AuthenticationProvider: GetDefaultAuthenticationProvider(),
|
||||||
RequireRateLimit: false,
|
RequireRateLimit: false,
|
||||||
RateLimit: 0,
|
RateLimit: 0,
|
||||||
DisableUptimeMonitor: false,
|
DisableUptimeMonitor: false,
|
||||||
DisableAutoFallback: false,
|
DisableAutoFallback: false,
|
||||||
AccessFilterUUID: "default",
|
AccessFilterUUID: "default",
|
||||||
DefaultSiteOption: DefaultSite_InternalStaticWebServer,
|
DefaultSiteOption: DefaultSite_InternalStaticWebServer,
|
||||||
DefaultSiteValue: "",
|
DefaultSiteValue: "",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user