[odrs-web/oscp] Minor fixes



commit 53664e9584932e33af167f52fd8eaff3b2204b39
Author: Andrea Veri <averi redhat com>
Date:   Mon Nov 12 19:33:22 2018 +0100

    Minor fixes

 Dockerfile          | 3 ++-
 odrs.gnome.org.conf | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index fab4176..079b401 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,7 +21,8 @@ RUN sed -i 's/Listen 443/Listen 8443/' /etc/apache2/conf.d/ssl.conf
 
 RUN useradd -u 1001 -g 0 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrsweb
 
-RUN chown -R 1001:0 ${ODRS_HOME} && \
+RUN chown root:1001 /etc/apache2/conf.d/000-default.conf && \
+    chown -R 1001:0 ${ODRS_HOME} && \
     chmod -R 664 ${ODRS_HOME} && \
     find ${ODRS_HOME} -type d -exec chmod 775 {} +
 
diff --git a/odrs.gnome.org.conf b/odrs.gnome.org.conf
index 7df142f..4356f58 100644
--- a/odrs.gnome.org.conf
+++ b/odrs.gnome.org.conf
@@ -4,8 +4,8 @@
 
     SSLEngine on
     SSLProtocol All -SSLv2 -SSLv3
-    SSLCertificateFile  /var/serving-cert/tls.crt
-    SSLCertificateKeyFile  /var/serving-cert/tls.key
+    SSLCertificateFile /var/serving-cert/tls.crt
+    SSLCertificateKeyFile /var/serving-cert/tls.key
 
     Alias /static/ /odrs-web/app/static
     Alias /1.0/reviews/api/ratings /odrs-web/ratings.json


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]