Skip to content

Commit 2af40b0

Browse files
committed
fix laradock#970. remove the required public directory in the /var/www
1 parent 5c0b831 commit 2af40b0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apache2/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ ARG PHP_UPSTREAM_PORT=9000
77

88
ENV WEB_PHP_SOCKET=${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREAM_PORT}
99

10-
ENV WEB_DOCUMENT_ROOT=/var/www/public/
10+
ENV WEB_DOCUMENT_ROOT=/var/www/
1111

1212
EXPOSE 80 443
1313

14-
WORKDIR /var/www/public/
14+
WORKDIR /var/www/
1515

1616
COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf
1717

apache2/sites/default.apache.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<VirtualHost *:80>
22
ServerName laradock.dev
3-
DocumentRoot /var/www/public/
3+
DocumentRoot /var/www/
44
Options Indexes FollowSymLinks
55

6-
<Directory "/var/www/public/">
6+
<Directory "/var/www/">
77
AllowOverride All
88
<IfVersion < 2.4>
99
Allow from all

0 commit comments

Comments
 (0)