Merge pull request #1363 from aledbf/fix-load-error
Fix proxy request buffering default configuration
This commit is contained in:
commit
62aa9a43d5
1 changed files with 9 additions and 8 deletions
|
@ -1078,14 +1078,15 @@ func (ic *GenericController) createServers(data []interface{},
|
||||||
|
|
||||||
bdef := ic.GetDefaultBackend()
|
bdef := ic.GetDefaultBackend()
|
||||||
ngxProxy := proxy.Configuration{
|
ngxProxy := proxy.Configuration{
|
||||||
BodySize: bdef.ProxyBodySize,
|
BodySize: bdef.ProxyBodySize,
|
||||||
ConnectTimeout: bdef.ProxyConnectTimeout,
|
ConnectTimeout: bdef.ProxyConnectTimeout,
|
||||||
SendTimeout: bdef.ProxySendTimeout,
|
SendTimeout: bdef.ProxySendTimeout,
|
||||||
ReadTimeout: bdef.ProxyReadTimeout,
|
ReadTimeout: bdef.ProxyReadTimeout,
|
||||||
BufferSize: bdef.ProxyBufferSize,
|
BufferSize: bdef.ProxyBufferSize,
|
||||||
CookieDomain: bdef.ProxyCookieDomain,
|
CookieDomain: bdef.ProxyCookieDomain,
|
||||||
CookiePath: bdef.ProxyCookiePath,
|
CookiePath: bdef.ProxyCookiePath,
|
||||||
NextUpstream: bdef.ProxyNextUpstream,
|
NextUpstream: bdef.ProxyNextUpstream,
|
||||||
|
RequestBuffering: bdef.ProxyRequestBuffering,
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultPemFileName := fakeCertificatePath
|
defaultPemFileName := fakeCertificatePath
|
||||||
|
|
Loading…
Reference in a new issue