Skip to content

Commit

Permalink
Merge pull request #1363 from aledbf/fix-load-error
Browse files Browse the repository at this point in the history
Fix proxy request buffering default configuration
  • Loading branch information
aledbf authored Sep 14, 2017
2 parents b2ad9e7 + 74c09ca commit 62aa9a4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions core/pkg/ingress/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1078,14 +1078,15 @@ func (ic *GenericController) createServers(data []interface{},

bdef := ic.GetDefaultBackend()
ngxProxy := proxy.Configuration{
BodySize: bdef.ProxyBodySize,
ConnectTimeout: bdef.ProxyConnectTimeout,
SendTimeout: bdef.ProxySendTimeout,
ReadTimeout: bdef.ProxyReadTimeout,
BufferSize: bdef.ProxyBufferSize,
CookieDomain: bdef.ProxyCookieDomain,
CookiePath: bdef.ProxyCookiePath,
NextUpstream: bdef.ProxyNextUpstream,
BodySize: bdef.ProxyBodySize,
ConnectTimeout: bdef.ProxyConnectTimeout,
SendTimeout: bdef.ProxySendTimeout,
ReadTimeout: bdef.ProxyReadTimeout,
BufferSize: bdef.ProxyBufferSize,
CookieDomain: bdef.ProxyCookieDomain,
CookiePath: bdef.ProxyCookiePath,
NextUpstream: bdef.ProxyNextUpstream,
RequestBuffering: bdef.ProxyRequestBuffering,
}

defaultPemFileName := fakeCertificatePath
Expand Down

0 comments on commit 62aa9a4

Please sign in to comment.