From b9786e7c10ade7954d5736ffd9ff9bf20063ba15 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 12 Feb 2017 17:04:18 +0000 Subject: [PATCH] fix syncproxy https bind on ipv6 address --- .../roles/templates/syncproxy/syncproxy.debian.org-apache.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %> -- 2.20.1