From 32dfb39989054b330fab4f7b37cf9a9fb7929e91 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 9 Dec 2015 21:37:07 +0200
Subject: [PATCH] Corrections to the Apache config.

---
 templates/cgit.conf.j2 | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/templates/cgit.conf.j2 b/templates/cgit.conf.j2
index 502ccc0..9ec58ce 100644
--- a/templates/cgit.conf.j2
+++ b/templates/cgit.conf.j2
@@ -1,13 +1,14 @@
 <VirtualHost _default_:443>
-    DocumentRoot            /usr/share/cgit
-    Alias                   /css "/usr/share/cgit"
+    Alias                   /cgit/css       /usr/share/cgit
+    ScriptAlias             /               /usr/lib/cgit/cgit.cgi/
     SSLEngine               on
-    SSLCertificateFile      {{ internal_tls_cert }}
-    SSLCertificateKeyFile   {{ internal_tls_key }}
+    SSLCertificateFile      {{ tls_cert_path }}
+    SSLCertificateKeyFile   {{ tls_key_path }}
     SSLProtocol             all -SSLv2 -SSLv3
     SSLCipherSuite          !kRSA:!3DES:!RC4:!DES:!MD5:!aNULL:!NULL:AESGCM+ECDH:AES256+ECDH:AES128:+SHA1;
     SSLHonorCipherOrder     on
     SSLCompression          off
+    #SSLOpenSSLConfCmd       DHParameters "/etc/ssl/dhparams.pem"
     ErrorLog                ${APACHE_LOG_DIR}/error.log
     CustomLog               ${APACHE_LOG_DIR}/access.log combined
 </virtualHost>
-- 
GitLab