From: Peter Palfrader Date: Sun, 12 Feb 2017 17:04:18 +0000 (+0000) Subject: fix syncproxy https bind on ipv6 address X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b9786e7c10ade7954d5736ffd9ff9bf20063ba15;p=mirror%2Fdsa-puppet.git fix syncproxy https bind on ipv6 address --- diff --git a/modules/roles/templates/syncproxy/syncproxy.debian.org-apache.erb b/modules/roles/templates/syncproxy/syncproxy.debian.org-apache.erb index b1a953838..7da6cb55b 100644 --- a/modules/roles/templates/syncproxy/syncproxy.debian.org-apache.erb +++ b/modules/roles/templates/syncproxy/syncproxy.debian.org-apache.erb @@ -5,7 +5,7 @@ <% vhost_listen = [ (bind != '') ? "#{bind}:80" : "*:80", (bind6 != '') ? "#{bind6}:80" : "*:80"].uniq.join(' ') - vhost_listen_443 = [ (bind != '') ? "#{bind}:443" : "*:443", (bind6 != '') ? "#{bind6}:443" : "*:443"].uniq.join(' ') + vhost_listen_443 = [ (bind != '') ? "#{bind}:443" : "*:443", (bind6 != '') ? "[#{bind6}]:443" : "*:443"].uniq.join(' ') %> Use common-debian-service-https-redirect "<%= vhost_listen %>" <%= syncproxy_name %>