[odrs-web] Load sites.d before conf.d
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] Load sites.d before conf.d
- Date: Mon, 17 Dec 2018 12:51:25 +0000 (UTC)
commit dcd0ffd1c5947017f87dbd1ffef8e199c34d2367
Author: Andrea Veri <averi redhat com>
Date: Mon Dec 17 13:51:16 2018 +0100
Load sites.d before conf.d
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index 166eeb4..95c09e7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@ WORKDIR ${ODRS_HOME}
COPY app_data ${ODRS_HOME}
RUN mkdir /etc/httpd/sites.d && \
- echo 'IncludeOptional sites.d/*.conf' >> /etc/httpd/conf/httpd.conf && \
+ sed -i '/IncludeOptional conf.d\/\*.conf/i IncludeOptional sites.d/*.conf' /etc/httpd/conf/httpd.conf
rm /etc/httpd/conf.d/welcome.conf
COPY odrs.gnome.org.conf /etc/httpd/sites.d/00_odrs.gnome.org.conf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]