File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ EXPOSE 80 443
1212
1313WORKDIR /var/www/public
1414
15+ ADD vhost.conf /etc/apache2/sites-enabled/vhost.conf
16+
1517ENTRYPOINT ["/opt/docker/bin/entrypoint.sh" ]
1618
1719CMD ["supervisord" ]
Original file line number Diff line number Diff line change 1+ * .conf
2+ ! default.conf
3+ ! default.apache.conf
Original file line number Diff line number Diff line change 1+ <VirtualHost *:80>
2+ ServerName laradock.dev
3+ DocumentRoot /var/www/html/
4+ Options Indexes FollowSymLinks
5+
6+ <Directory "/var/www/html/">
7+ AllowOverride All
8+ <IfVersion < 2.4>
9+ Allow from all
10+ </IfVersion>
11+ <IfVersion >= 2.4>
12+ Require all granted
13+ </IfVersion>
14+ </Directory>
15+
16+ </VirtualHost>
Original file line number Diff line number Diff line change 1+ <VirtualHost *:80>
2+ ServerName sample.dev
3+ DocumentRoot /var/www/sample/public/
4+ Options Indexes FollowSymLinks
5+
6+ <Directory "/var/www/sample/public/">
7+ AllowOverride All
8+ <IfVersion < 2.4>
9+ Allow from all
10+ </IfVersion>
11+ <IfVersion >= 2.4>
12+ Require all granted
13+ </IfVersion>
14+ </Directory>
15+
16+ </VirtualHost>
Original file line number Diff line number Diff line change 1+ Include /etc/apache2/sites-available/*.conf
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ services:
104104 - applications
105105 volumes :
106106 - ./logs/apache2:/var/log/apache2
107+ - ./apache2/sites:/etc/apache2/sites-available
107108 ports :
108109 - " 80:80"
109110 - " 443:443"
You can’t perform that action at this time.
0 commit comments