summaryrefslogtreecommitdiff
path: root/roles/cgit/templates/vhost.conf.j2
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2015-08-28 15:38:36 +0200
committerChristian Franke <nobody@nowhere.ws>2015-08-28 15:38:36 +0200
commit1eb35a1e69d9a9f3f43340b9ea46d95bb2c1a0e8 (patch)
treec2f50624ccf38999896e66c9f270a96ee4cbb5cb /roles/cgit/templates/vhost.conf.j2
parent6474bb9964d8a57b050e597a451fa40a3e5148f0 (diff)
Add cgit role - git webfrontend
Diffstat (limited to 'roles/cgit/templates/vhost.conf.j2')
-rw-r--r--roles/cgit/templates/vhost.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/cgit/templates/vhost.conf.j2 b/roles/cgit/templates/vhost.conf.j2
new file mode 100644
index 0000000..b3e2149
--- /dev/null
+++ b/roles/cgit/templates/vhost.conf.j2
@@ -0,0 +1,9 @@
+<VirtualHost *:80>
+ Include sites/{{ git_server_name }}/repocreate-plain.conf
+ Include sites/{{ git_server_name }}/server.conf
+</VirtualHost>
+<VirtualHost *:443>
+ Include sites/{{ git_server_name }}/ssl.conf
+ Include sites/{{ git_server_name }}/repocreate-ssl.conf
+ Include sites/{{ git_server_name }}/server.conf
+</VirtualHost>