From 6f400a06ab6752d3dcc87e90a8cd4868f42030d2 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 6 Mar 2015 10:28:00 +0100 Subject: Use a specific key for the domain --- roles/cgit/templates/vhost.conf | 5 ++--- 1 file 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' %} {% 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 -- cgit