Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
2af40b0b
Commit
2af40b0b
authored
Aug 03, 2017
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #970. remove the required public directory in the /var/www
parent
5c0b8316
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile
apache2/Dockerfile
+2
-2
default.apache.conf
apache2/sites/default.apache.conf
+2
-2
No files found.
apache2/Dockerfile
View file @
2af40b0b
...
...
@@ -7,11 +7,11 @@ ARG PHP_UPSTREAM_PORT=9000
ENV
WEB_PHP_SOCKET=${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREAM_PORT}
ENV
WEB_DOCUMENT_ROOT=/var/www/
public/
ENV
WEB_DOCUMENT_ROOT=/var/www/
EXPOSE
80 443
WORKDIR
/var/www/
public/
WORKDIR
/var/www/
COPY
vhost.conf /etc/apache2/sites-enabled/vhost.conf
...
...
apache2/sites/default.apache.conf
View file @
2af40b0b
<
VirtualHost
*:
80
>
ServerName
laradock
.
dev
DocumentRoot
/
var
/
www
/
public
/
DocumentRoot
/
var
/
www
/
Options
Indexes
FollowSymLinks
<
Directory
"/var/www/
public/
"
>
<
Directory
"/var/www/"
>
AllowOverride
All
<
IfVersion
<
2
.
4
>
Allow
from
all
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment