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
875ec23a
Commit
875ec23a
authored
Mar 17, 2017
by
Mahmoud Zalt
Committed by
GitHub
Mar 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #661 from g9308370/add_apache_vhost_conf
Add apache2 vhost & example
parents
9ae6e45d
badad156
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
0 deletions
+41
-0
Dockerfile
apache2/Dockerfile
+2
-0
.gitignore
apache2/sites/.gitignore
+3
-0
default.apache.conf
apache2/sites/default.apache.conf
+16
-0
sample.conf.example
apache2/sites/sample.conf.example
+16
-0
vhost.conf
apache2/vhost.conf
+1
-0
docker-compose.yml
docker-compose.yml
+3
-0
No files found.
apache2/Dockerfile
View file @
875ec23a
...
...
@@ -12,6 +12,8 @@ EXPOSE 80 443
WORKDIR
/var/www/
ADD
vhost.conf /etc/apache2/sites-enabled/vhost.conf
ENTRYPOINT
["/opt/docker/bin/entrypoint.sh"]
CMD
["supervisord"]
apache2/sites/.gitignore
0 → 100644
View file @
875ec23a
*.conf
!default.conf
!default.apache.conf
apache2/sites/default.apache.conf
0 → 100644
View file @
875ec23a
<
VirtualHost
*:
80
>
ServerName
laradock
.
dev
DocumentRoot
/
var
/
www
/
html
/
Options
Indexes
FollowSymLinks
<
Directory
"/var/www/html/"
>
AllowOverride
All
<
IfVersion
<
2
.
4
>
Allow
from
all
</
IfVersion
>
<
IfVersion
>=
2
.
4
>
Require
all
granted
</
IfVersion
>
</
Directory
>
</
VirtualHost
>
apache2/sites/sample.conf.example
0 → 100644
View file @
875ec23a
<VirtualHost *:80>
ServerName sample.dev
DocumentRoot /var/www/sample/public/
Options Indexes FollowSymLinks
<Directory "/var/www/sample/public/">
AllowOverride All
<IfVersion < 2.4>
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
</VirtualHost>
apache2/vhost.conf
0 → 100644
View file @
875ec23a
Include
/
etc
/
apache2
/
sites
-
available
/*.
conf
docker-compose.yml
View file @
875ec23a
...
...
@@ -102,6 +102,9 @@ services:
-
applications
volumes
:
-
${APACHE_HOST_LOG_PATH}:/var/log/apache2
-
./apache2/sites:/etc/apache2/sites-available
ports
:
-
"
${APACHE_HOST_HTTP_PORT}:80"
-
"
${APACHE_HOST_HTTPS_PORT}:443"
...
...
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