[odrs-web/oscp] Disable the default mod_ssl vhost



commit a4d6633823d219398b0ff4536bbd55f1c515018c
Author: Andrea Veri <averi redhat com>
Date:   Mon Nov 12 20:46:50 2018 +0100

    Disable the default mod_ssl vhost

 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index f171a45..af3f62f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,6 +22,8 @@ RUN sed -i 's/#LoadModule expires_module/LoadModule expires_module/' /etc/apache
 RUN sed -i 's/CustomLog/#CustomLog/' /etc/apache2/httpd.conf
 #RUN sed -i 's/ErrorLog/#ErrorLog/' /etc/apache2/httpd.conf
 RUN echo 'ServerName odrs.gnome.org' >> /etc/apache2/httpd.conf
+RUN sed -i 's/\<VirtualHost/#\<VirtualHost/' /etc/apache2/conf.d/ssl.conf
+RUN sed -i 's/\<\\VirtualHost/#\<\\VirtualHost/' /etc/apache2/conf.d/ssl.conf
 
 RUN groupadd -g 1001 odrs
 RUN useradd -u 1001 -g 1001 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrs


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