We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8246863 commit 1be9df7Copy full SHA for 1be9df7
2 files changed
apache2/Dockerfile
@@ -6,13 +6,13 @@ ARG PHP_SOCKET=php-fpm:9000
6
7
ENV WEB_PHP_SOCKET=$PHP_SOCKET
8
9
-ENV WEB_DOCUMENT_ROOT=/var/www/
+ENV WEB_DOCUMENT_ROOT=/var/www/public/
10
11
EXPOSE 80 443
12
13
-WORKDIR /var/www/
+WORKDIR /var/www/public/
14
15
-ADD vhost.conf /etc/apache2/sites-enabled/vhost.conf
+COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf
16
17
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
18
apache2/sites/default.apache.conf
@@ -1,9 +1,9 @@
1
<VirtualHost *:80>
2
ServerName laradock.dev
3
- DocumentRoot /var/www/html/
+ DocumentRoot /var/www/public/
4
Options Indexes FollowSymLinks
5
- <Directory "/var/www/html/">
+ <Directory "/var/www/public/">
AllowOverride All
<IfVersion < 2.4>
Allow from all
0 commit comments