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
37ed904f
Commit
37ed904f
authored
Mar 09, 2017
by
hchs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vhost example
parent
94c62405
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
0 deletions
+39
-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
+1
-0
No files found.
apache2/Dockerfile
View file @
37ed904f
...
...
@@ -12,6 +12,8 @@ EXPOSE 80 443
WORKDIR
/var/www/public
ADD
vhost.conf /etc/apache2/sites-enabled/vhost.conf
ENTRYPOINT
["/opt/docker/bin/entrypoint.sh"]
CMD
["supervisord"]
apache2/sites/.gitignore
0 → 100644
View file @
37ed904f
*.conf
!default.conf
!default.apache.conf
apache2/sites/default.apache.conf
0 → 100644
View file @
37ed904f
<
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 @
37ed904f
<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 @
37ed904f
Include
/
etc
/
apache2
/
sites
-
available
/*.
conf
docker-compose.yml
View file @
37ed904f
...
...
@@ -104,6 +104,7 @@ services:
-
applications
volumes
:
-
./logs/apache2:/var/log/apache2
-
./apache2/sites:/etc/apache2/sites-available
ports
:
-
"
80:80"
-
"
443: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