update Vagrantfile
create link to map directory at right position
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
|
|||||||
sudo apt-get -y install nginx
|
sudo apt-get -y install nginx
|
||||||
|
|
||||||
echo "Starting nginx..."
|
echo "Starting nginx..."
|
||||||
sudo ln -s /vagrant/www /usr/share/nginx/html/map
|
sudo ln -s /vagrant/www /var/www/html/map
|
||||||
sudo cp /vagrant/www/index.html.en /vagrant/www/index.html
|
sudo cp /vagrant/www/index.html.en /vagrant/www/index.html
|
||||||
sudo useradd -s /bin/false nginx
|
sudo useradd -s /bin/false nginx
|
||||||
sudo service nginx restart
|
sudo service nginx restart
|
||||||
|
|||||||
Reference in New Issue
Block a user