BBlack has uploaded a new change for review. (
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/67/345767/1
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: newchange
Gerrit-Change-Id: Ieb7e6e343028b41774b4eccc7ce370d2f30b6e0a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits