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
1be9df7d
Commit
1be9df7d
authored
May 01, 2017
by
Winfried
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing apache webroot issue #849
parent
8246863c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Dockerfile
apache2/Dockerfile
+3
-3
default.apache.conf
apache2/sites/default.apache.conf
+2
-2
No files found.
apache2/Dockerfile
View file @
1be9df7d
...
...
@@ -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"]
...
...
apache2/sites/default.apache.conf
View file @
1be9df7d
<
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
...
...
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