From 144d10d3fba9f96958ef0d49ba268d7ce0c9e4f9 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 22 Jan 2015 14:48:16 +0100 Subject: Fix the server name in cgit vhost --- roles/cgit/templates/vhost.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/cgit/templates/vhost.conf b/roles/cgit/templates/vhost.conf index bf9a536..908c21f 100644 --- a/roles/cgit/templates/vhost.conf +++ b/roles/cgit/templates/vhost.conf @@ -6,8 +6,7 @@ RedirectMatch ^/$ /cgit/ - # TODO clean it - ServerName git.theopensourceway.org + ServerName git.{{ ansible_domain }} {% endfor %} -- cgit