BBlack has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/288089

Change subject: Revert "tlsproxy: switch to (non-persistent) HTTP/1.1"
......................................................................

Revert "tlsproxy: switch to (non-persistent) HTTP/1.1"

This reverts commit 6e20191dc511a52df9324d102731ddb20a2e0867.

Bug: T107749
Change-Id: If1b5c01d7c3b924f39040e674b3d6d4020b9a2ea
---
M modules/tlsproxy/templates/localssl.erb
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/89/288089/1

diff --git a/modules/tlsproxy/templates/localssl.erb 
b/modules/tlsproxy/templates/localssl.erb
index 60c8b12..2c14ca7 100644
--- a/modules/tlsproxy/templates/localssl.erb
+++ b/modules/tlsproxy/templates/localssl.erb
@@ -30,11 +30,9 @@
 
        location / {
                proxy_pass http://local_fe_<%= @basename %>;
-               proxy_http_version 1.1;
 <% if @keepalives_per_worker.to_i > 0 -%>
+               proxy_http_version 1.1;
                proxy_set_header Connection "";
-<% else -%>
-               proxy_set_header Connection close; # note: this is default
 <% end -%>
 
                # this should be in sync with Varnish's first_byte_timeout

-- 
To view, visit https://gerrit.wikimedia.org/r/288089
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If1b5c01d7c3b924f39040e674b3d6d4020b9a2ea
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

Reply via email to