|
|
|
@ -30,9 +30,9 @@ RUN set -ex; \
|
|
|
|
|
sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; \
|
|
|
|
|
done; \
|
|
|
|
|
\
|
|
|
|
|
# Run httpd as "www-data" (instead of "daemon").
|
|
|
|
|
# Run httpd as "josiah" (instead of "daemon").
|
|
|
|
|
for i in User Group; do \
|
|
|
|
|
sed -i -e "s|^$i .*|$i www-data|" "conf/httpd.conf"; \
|
|
|
|
|
sed -i -e "s|^$i .*|$i josiah|" "conf/httpd.conf"; \
|
|
|
|
|
done; \
|
|
|
|
|
\
|
|
|
|
|
# Include enabled configs and sites.
|
|
|
|
|