BBlack has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/345767 )
Change subject: tlsproxy: double the response buffer size
......................................................................
tlsproxy: double the response buffer size
Bug: T161819
Change-Id: Ieb7e6e343028b41774b4eccc7ce370d2f30b6e0a
---
M modules/tlsproxy/templates/localssl.erb
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
BBlack: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/tlsproxy/templates/localssl.erb
b/modules/tlsproxy/templates/localssl.erb
index fd96cc5..2f06779 100644
--- a/modules/tlsproxy/templates/localssl.erb
+++ b/modules/tlsproxy/templates/localssl.erb
@@ -64,6 +64,14 @@
proxy_redirect off;
proxy_buffering off;
+
+ # With proxy buffering off, proxy_buffer_size is still used to
+ # define the singular chunk of buffer the content passes
+ # through. Apparently if nginx can't read all the response
+ # headers in the first such chunk, it fails with 502. Upping
+ # this to 8k (from def 4k) solves the one reported case in
+ # https://phabricator.wikimedia.org/T161819
+ proxy_buffer_size 8k;
}
}
<% if @redir_port -%>
--
To view, visit https://gerrit.wikimedia.org/r/345767
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb7e6e343028b41774b4eccc7ce370d2f30b6e0a
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Ema <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits