diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/cgit/templates/vhost.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/cgit/templates/vhost.conf b/roles/cgit/templates/vhost.conf index 8b26d0b..3243867 100644 --- a/roles/cgit/templates/vhost.conf +++ b/roles/cgit/templates/vhost.conf @@ -1,7 +1,12 @@ # {{ ansible_managed }} {% 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 + SSLEngine on + {% endif %} Alias /cgit-data /usr/share/cgit ScriptAlias /cgit /var/www/cgi-bin/cgit |