From 1f145ea719580e9ae82e30be8f01c25c81b070a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Thu, 10 Aug 2017 08:49:04 +0200
Subject: [PATCH] Changed CM default server name.

---
 2.Common_services/5.Nginx/0_setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2.Common_services/5.Nginx/0_setup.py b/2.Common_services/5.Nginx/0_setup.py
index 32c57d1d..7e135748 100644
--- a/2.Common_services/5.Nginx/0_setup.py
+++ b/2.Common_services/5.Nginx/0_setup.py
@@ -66,7 +66,7 @@ def setup(interactive=True):
     # SkyReach vhost
     if os.path.exists('/home/skyreach/htdocs'):
         need_uwsgi = True
-        server_name = utils.get_conf('CM_SERVER_NAME') or 'skyreach'
+        server_name = utils.get_conf('CM_SERVER_NAME') or 'campusmanager'
         cmds.extend(vhost_write_cmds(dir_path, 'skyreach', server_name))
         hosts.append(server_name)
     # Cache vhost
-- 
GitLab