Vagrant: Fix Nginx configuration script

pull/9/head
Franz Liedke 2015-06-20 19:38:46 +02:00
parent 796bd1a858
commit 56dd92c61a
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
#! /bin/bash #! /bin/bash
su - vagrant
block=" block="
server { server {
@ -53,8 +52,8 @@ block="
} }
" "
echo "$block" > "/etc/nginx/sites-available/vagrant" echo "$block" | sudo tee /etc/nginx/sites-available/vagrant
service nginx restart sudo service nginx restart
### Setup NPM globals and create necessary directories ### ### Setup NPM globals and create necessary directories ###
sudo apt-get install -y phantomjs zsh exuberant-ctags sudo apt-get install -y phantomjs zsh exuberant-ctags