summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2015-01-22 14:48:16 +0100
committerMichael Scherer <misc@zarb.org>2015-01-22 14:48:16 +0100
commit144d10d3fba9f96958ef0d49ba268d7ce0c9e4f9 (patch)
treee2080256d9beeabac4d796efe48c752645eeca16
parent877199aa9d994f7a0382ea0ddabd4d2602420d40 (diff)
Fix the server name in cgit vhost
-rw-r--r--roles/cgit/templates/vhost.conf3
1 files changed, 1 insertions, 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 }}
</VirtualHost>
{% endfor %}