mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
loadbalancers: 清理监听选项名
This commit is contained in:
@@ -43,8 +43,6 @@ type SLoadbalancerHTTPListener struct {
|
||||
StickySessionCookie string `width:"128" charset:"ascii" nullable:"false" list:"user" create:"optional" update:"user"`
|
||||
StickySessionCookieTimeout int `nullable:"false" list:"user" create:"optional" update:"user"`
|
||||
|
||||
//XForwardedForSLBIP bool `nullable:"false" list:"user" create:"optional"`
|
||||
//XForwardedForSLBID bool `nullable:"false" list:"user" create:"optional"`
|
||||
XForwardedFor bool `nullable:"false" list:"user" create:"optional" update:"user"`
|
||||
Gzip bool `nullable:"false" list:"user" create:"optional" update:"user"`
|
||||
}
|
||||
|
||||
@@ -25,10 +25,8 @@ type LoadbalancerHTTPListener struct {
|
||||
StickySessionCookie string
|
||||
StickySessionCookieTimeout int
|
||||
|
||||
XForwardedFor bool
|
||||
XForwardedForSLBIP bool
|
||||
XForwardedForSLBID bool
|
||||
Gzip bool
|
||||
XForwardedFor bool
|
||||
Gzip bool
|
||||
}
|
||||
|
||||
// CACertificate string
|
||||
@@ -77,9 +75,6 @@ type LoadbalancerListener struct {
|
||||
LoadbalancerUDPListener
|
||||
LoadbalancerHTTPListener
|
||||
LoadbalancerHTTPSListener
|
||||
|
||||
XForwardedFor bool
|
||||
Gzip bool
|
||||
}
|
||||
|
||||
type LoadbalancerListenerRule struct {
|
||||
|
||||
Reference in New Issue
Block a user