add: full multi-tenancy control
This commit is contained in:
16
000-default.conf
Normal file
16
000-default.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@localhost
|
||||
|
||||
# AQUI ESTÁ A MÁGICA: Apontar para a pasta public
|
||||
DocumentRoot /var/www/html/public
|
||||
|
||||
<Directory /var/www/html/public>
|
||||
Options Indexes FollowSymLinks
|
||||
# Isso permite que o Laravel gerencie as rotas (remove o index.php da url)
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user