Mark Bergsma has uploaded a new change for review.
https://gerrit.wikimedia.org/r/92539
Change subject: Connect to the system backend ip instead of a (volatile) LVS ip
......................................................................
Connect to the system backend ip instead of a (volatile) LVS ip
LVS service IPs can change, in which case the existing situation
leads to outages.
Change-Id: Ie94cccc3453b356b6c33b68db814aff94f61cf06
---
M modules/protoproxy/templates/localssl.erb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/39/92539/1
diff --git a/modules/protoproxy/templates/localssl.erb
b/modules/protoproxy/templates/localssl.erb
index 41e18a7..59ff3e1 100644
--- a/modules/protoproxy/templates/localssl.erb
+++ b/modules/protoproxy/templates/localssl.erb
@@ -16,7 +16,7 @@
keepalive_timeout 60;
location / {
- proxy_pass http://<%= scope.lookupvar('::ipaddress_lo_lvs')
%>:<%= @upstream_port %>;
+ proxy_pass http://<%= scope.lookupvar('::ipaddress') %>:<%=
@upstream_port %>;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
--
To view, visit https://gerrit.wikimedia.org/r/92539
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie94cccc3453b356b6c33b68db814aff94f61cf06
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits