gofmt
This commit is contained in:
parent
cae935d32a
commit
c9f31be9aa
1 changed files with 27 additions and 27 deletions
|
@ -942,33 +942,33 @@ func NewDefault() Configuration {
|
||||||
ProxyStreamNextUpstreamTimeout: "600s",
|
ProxyStreamNextUpstreamTimeout: "600s",
|
||||||
ProxyStreamNextUpstreamTries: 3,
|
ProxyStreamNextUpstreamTries: 3,
|
||||||
Backend: defaults.Backend{
|
Backend: defaults.Backend{
|
||||||
ProxyBodySize: bodySize,
|
ProxyBodySize: bodySize,
|
||||||
ProxyConnectTimeout: 5,
|
ProxyConnectTimeout: 5,
|
||||||
ProxyReadTimeout: 60,
|
ProxyReadTimeout: 60,
|
||||||
ProxySendTimeout: 60,
|
ProxySendTimeout: 60,
|
||||||
ProxyBuffersNumber: 4,
|
ProxyBuffersNumber: 4,
|
||||||
ProxyBufferSize: "4k",
|
ProxyBufferSize: "4k",
|
||||||
ProxyCookieDomain: "off",
|
ProxyCookieDomain: "off",
|
||||||
ProxyCookiePath: "off",
|
ProxyCookiePath: "off",
|
||||||
ProxyNextUpstream: "error timeout",
|
ProxyNextUpstream: "error timeout",
|
||||||
ProxyNextUpstreamTimeout: 0,
|
ProxyNextUpstreamTimeout: 0,
|
||||||
ProxyNextUpstreamTries: 3,
|
ProxyNextUpstreamTries: 3,
|
||||||
ProxyRequestBuffering: "on",
|
ProxyRequestBuffering: "on",
|
||||||
ProxyRedirectFrom: "off",
|
ProxyRedirectFrom: "off",
|
||||||
ProxyRedirectTo: "off",
|
ProxyRedirectTo: "off",
|
||||||
PreserveTrailingSlash: false,
|
PreserveTrailingSlash: false,
|
||||||
SSLRedirect: true,
|
SSLRedirect: true,
|
||||||
CustomHTTPErrors: []int{},
|
CustomHTTPErrors: []int{},
|
||||||
DenylistSourceRange: []string{},
|
DenylistSourceRange: []string{},
|
||||||
WhitelistSourceRange: []string{},
|
WhitelistSourceRange: []string{},
|
||||||
SkipAccessLogURLs: []string{},
|
SkipAccessLogURLs: []string{},
|
||||||
SkipAccessLogHTTPStatuses: []string{},
|
SkipAccessLogHTTPStatuses: []string{},
|
||||||
LimitRate: 0,
|
LimitRate: 0,
|
||||||
LimitRateAfter: 0,
|
LimitRateAfter: 0,
|
||||||
ProxyBuffering: "off",
|
ProxyBuffering: "off",
|
||||||
ProxyHTTPVersion: "1.1",
|
ProxyHTTPVersion: "1.1",
|
||||||
ProxyMaxTempFileSize: "1024m",
|
ProxyMaxTempFileSize: "1024m",
|
||||||
ServiceUpstream: false,
|
ServiceUpstream: false,
|
||||||
},
|
},
|
||||||
UpstreamKeepaliveConnections: 320,
|
UpstreamKeepaliveConnections: 320,
|
||||||
UpstreamKeepaliveTime: "1h",
|
UpstreamKeepaliveTime: "1h",
|
||||||
|
|
Loading…
Reference in a new issue