From c6f93e018ba9a24c369e983049dec9cd686a2ede Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Tue, 8 Mar 2016 08:35:32 +0100
Subject: [PATCH] Errors in automatically generated nginx configuration files
 (Fixes #3774)

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

diff --git a/install/tpl/nginx_apps.vhost.master b/install/tpl/nginx_apps.vhost.master
index 6fad927b68..ddde18d03e 100644
--- a/install/tpl/nginx_apps.vhost.master
+++ b/install/tpl/nginx_apps.vhost.master
@@ -1,5 +1,5 @@
 server {
-        listen {apps_vhost_ip};
+        listen {apps_vhost_port};
         listen [::]:{apps_vhost_port};
         ssl {ssl_on};
         {ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
diff --git a/install/tpl/nginx_ispconfig.vhost.master b/install/tpl/nginx_ispconfig.vhost.master
index 6102cef9eb..e45fc10b08 100644
--- a/install/tpl/nginx_ispconfig.vhost.master
+++ b/install/tpl/nginx_ispconfig.vhost.master
@@ -1,6 +1,6 @@
 server {
         listen {vhost_port};
-        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;
@@ -81,4 +81,4 @@ server {
 #        location /webmail {
 #               rewrite ^/* /squirrelmail last;
 #        }
-}
\ No newline at end of file
+}
-- 
GitLab