[odrs-web/oscp] Additional permissions. Load mod_expires
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Additional permissions. Load mod_expires
- Date: Mon, 12 Nov 2018 18:51:27 +0000 (UTC)
commit 773e4214e2705d2bec2007de29ffcd925e017b8a
Author: Andrea Veri <averi redhat com>
Date: Mon Nov 12 19:51:21 2018 +0100
Additional permissions. Load mod_expires
Dockerfile | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index bd573ba..9b26cd7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,12 +18,14 @@ RUN pip install -r requirements.txt
COPY odrs.gnome.org.conf /etc/apache2/conf.d/000-default.conf
RUN sed -i 's/Listen 80/Listen 8080/' /etc/apache2/httpd.conf
RUN sed -i 's/Listen 443/Listen 8443/' /etc/apache2/conf.d/ssl.conf
+RUN sed -i 's/#LoadModule expires_module/LoadModule expires_module/' /etc/apache2/httpd.conf
RUN groupadd -g 1001 odrs
RUN useradd -u 1001 -g 1001 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrs
RUN chown root:1001 /etc/apache2/conf.d && \
chown root:1001 /etc/apache2/conf.d/000-default.conf && \
+ cmod 775 /etc/apache2/conf.d && chmod 664 /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 {} +
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]