summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/cgit/templates/vhost.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/cgit/templates/vhost.conf b/roles/cgit/templates/vhost.conf
index c759649..0b6ad5b 100644
--- a/roles/cgit/templates/vhost.conf
+++ b/roles/cgit/templates/vhost.conf
@@ -2,9 +2,8 @@
{% for i in '80', '443' %}
<VirtualHost *:{{ i }}>
{% if i == '443' %}
- # TODO fix the key
- SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
- SSLCertificateFile /etc/pki/tls/certs/localhost.crt
+ SSLCertificateKeyFile /etc/pki/tls/private/git.{{ ansible_domain }}.key
+ SSLCertificateFile /etc/pki/tls/certs/git.{{ ansible_domain }}.crt
SSLEngine on
{% endif %}
Alias /cgit-data /usr/share/cgit