This commit is contained in:
parent
d486c8ad21
commit
e3c1c106c6
@ -28,8 +28,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
|
||||
sed -i 's:# include "mod_fastcgi.conf": include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \
|
||||
# sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \
|
||||
# Include vhost's
|
||||
sed -i -e '$a\' -e 'include_shell "cat /etc/lighttpd/vhosts.d/*.conf"' /etc/lighttpd/lighttpd.conf && \
|
||||
mkdir -p /run/lighttpd/ && chown lighttpd /run/lighttpd/
|
||||
sed -i -e '$a\' -e 'include_shell "cat /etc/lighttpd/vhosts.d/*.conf"' /etc/lighttpd/lighttpd.conf #&& \
|
||||
# mkdir -p /run/lighttpd/ && chown lighttpd /run/lighttpd/
|
||||
|
||||
#ADD vhosts.d /etc/lighttpd/vhosts.d
|
||||
VOLUME /etc/lighttpd/vhosts.d
|
||||
|
Loading…
Reference in New Issue
Block a user