From eff5c1369da240b94c464b046499ce7c3100e36c Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Fri, 19 Feb 2016 13:30:51 +0100
Subject: [PATCH] - added ipv6 listen to ispconfig vhost files on nginx (Fixes
 #3665)

---
 install/tpl/nginx_apps.vhost.master      | 3 ++-
 install/tpl/nginx_ispconfig.vhost.master | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/install/tpl/nginx_apps.vhost.master b/install/tpl/nginx_apps.vhost.master
index c2d2aa0b4e..6fad927b68 100644
--- a/install/tpl/nginx_apps.vhost.master
+++ b/install/tpl/nginx_apps.vhost.master
@@ -1,5 +1,6 @@
 server {
-        listen {apps_vhost_ip}{apps_vhost_port};
+        listen {apps_vhost_ip};
+        listen [::]:{apps_vhost_port};
         ssl {ssl_on};
         {ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
         {ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
diff --git a/install/tpl/nginx_ispconfig.vhost.master b/install/tpl/nginx_ispconfig.vhost.master
index 80fc02e354..6102cef9eb 100644
--- a/install/tpl/nginx_ispconfig.vhost.master
+++ b/install/tpl/nginx_ispconfig.vhost.master
@@ -1,5 +1,6 @@
 server {
         listen {vhost_port};
+        listen [::]:{vhost_port}
 		ssl {ssl_on};
 		{ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
         {ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
-- 
GitLab