Created
April 25, 2016 05:32
-
-
Save jbalzar/f6b933c56941f699053661174af16adb to your computer and use it in GitHub Desktop.
Set scotchbox default document root to /var/www
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.provision "shell", inline: <<-SHELL | |
mv /var/www/public /var/www | |
sudo sed -i s,/var/www/public,/var/www,g /etc/apache2/sites-available/000-default.conf | |
sudo sed -i s,/var/www/public,/var/www,g /etc/apache2/sites-available/scotchbox.local.conf | |
sudo service apache2 restart | |
SHELL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment