summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--2.4/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile
index 26757fc..b57d230 100644
--- a/2.4/Dockerfile
+++ b/2.4/Dockerfile
@@ -35,8 +35,9 @@ RUN set -ex; \
# Create directories for Dav data and lock database.
mkdir -p "/var/dav/data"; \
\
- # Configure port
+ # Configure Apache
sed -i -e "s|Listen .*|Listen 8080|" "/etc/apache2/httpd.conf"; \
+ sed -i -e "s|ErrorLog logs.*|ErrorLog /proc/self/fd/2|" "/etc/apache2/httpd.conf"; \
sed -i -e "s|PidFile .*|PidFile /tmp/apache.pid|" "/etc/apache2/conf.d/mpm.conf"; \
\
# Include enabled configs and sites.