This commit is contained in:
parent
d633f698b1
commit
d486c8ad21
@ -26,7 +26,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
|
||||
apt-get autoremove -y && \
|
||||
# Enable PHP
|
||||
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 && \
|
||||
# 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/
|
||||
|
Loading…
Reference in New Issue
Block a user