Changing docroots to have the same defaults

Caddy, NGINX and Apache2 should have the same default application paths. The `public/` path suffix is now added in the dotenv file to be able to use Laradock for non-laravel projects as well. Also, updated the documentation.
This commit is contained in:
Winfried
2017-04-23 20:44:18 +02:00
parent 24d70ad1e3
commit 690137a349
11 changed files with 28 additions and 23 deletions

View File

@ -1,9 +1,9 @@
<VirtualHost *:80>
ServerName sample.dev
DocumentRoot /var/www/sample/public/
DocumentRoot /var/www/sample/
Options Indexes FollowSymLinks
<Directory "/var/www/sample/public/">
<Directory "/var/www/sample/">
AllowOverride All
<IfVersion < 2.4>
Allow from all