Mark Bergsma has uploaded a new change for review. https://gerrit.wikimedia.org/r/88747
Change subject: Remove upstream definition as we only connect to localhost ...................................................................... Remove upstream definition as we only connect to localhost Change-Id: I02d2869ae3502f4f9b726e692d9104b04e1e4764 --- M modules/protoproxy/templates/localssl.erb 1 file changed, 1 insertion(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/47/88747/1 diff --git a/modules/protoproxy/templates/localssl.erb b/modules/protoproxy/templates/localssl.erb index 3f6e95b..55f99ff 100644 --- a/modules/protoproxy/templates/localssl.erb +++ b/modules/protoproxy/templates/localssl.erb @@ -1,12 +1,6 @@ # Proxy site configuration file for <%= name %> # This file is managed by Puppet! -upstream localhost { - # max fails is ignored when using one host, so we use the same host twice - server 127.0.0.1:<%= @upstream_port %>; - server 127.0.0.1:<%= @upstream_port %>; -} - # SSL proxying server { listen [::]:443 ssl; @@ -21,7 +15,7 @@ keepalive_timeout 60; location / { - proxy_pass http://localhost; + proxy_pass http://127.0.0.1:<%= @upstream_port %>; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; -- To view, visit https://gerrit.wikimedia.org/r/88747 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I02d2869ae3502f4f9b726e692d9104b04e1e4764 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Mark Bergsma <m...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits