Partially Fixes #177 Nginx default config interferes with dev domain. Still causes an issue with SSL redirect. (#178)
This commit is contained in:
parent
561b98a039
commit
0b94c3142b
@ -62,6 +62,10 @@ info "Enabling site configuration"
|
|||||||
ln -s /app/vagrant/nginx/app.conf /etc/nginx/sites-enabled/app.conf
|
ln -s /app/vagrant/nginx/app.conf /etc/nginx/sites-enabled/app.conf
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
||||||
|
info "Removing default site configuration"
|
||||||
|
rm /etc/nginx/sites-enabled/default
|
||||||
|
echo "Done!"
|
||||||
|
|
||||||
info "Initailize databases for MySQL"
|
info "Initailize databases for MySQL"
|
||||||
mysql -uroot <<< "CREATE DATABASE yii2basic"
|
mysql -uroot <<< "CREATE DATABASE yii2basic"
|
||||||
mysql -uroot <<< "CREATE DATABASE yii2basic_test"
|
mysql -uroot <<< "CREATE DATABASE yii2basic_test"
|
||||||
|
Loading…
Reference in New Issue
Block a user