Commit 1be9df7d authored by Winfried's avatar Winfried

Fixing apache webroot issue #849

parent 8246863c
......@@ -6,13 +6,13 @@ ARG PHP_SOCKET=php-fpm:9000
ENV WEB_PHP_SOCKET=$PHP_SOCKET
ENV WEB_DOCUMENT_ROOT=/var/www/
ENV WEB_DOCUMENT_ROOT=/var/www/public/
EXPOSE 80 443
WORKDIR /var/www/
WORKDIR /var/www/public/
ADD vhost.conf /etc/apache2/sites-enabled/vhost.conf
COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
......
<VirtualHost *:80>
ServerName laradock.dev
DocumentRoot /var/www/html/
DocumentRoot /var/www/public/
Options Indexes FollowSymLinks
<Directory "/var/www/html/">
<Directory "/var/www/public/">
AllowOverride All
<IfVersion < 2.4>
Allow from all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment