Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vagrant.configure("2") do |config|
- config.vm.box = "ubuntu/bionic64"
- config.vm.network "forwarded_port", guest: 80, host: 8000
- config.vm.provision "shell", inline: <<-SHELL
- apt-get update
- apt-get upgrade -y
- apt-get install -y nginx
- systemctl start nginx
- ln -sf /vagrant /var/www/site
- ln -sf /vagrant/.provisions/site.conf /etc/nginx/conf.d/site.conf
- systemctl reload nginx
- SHELL
- end
Add Comment
Please, Sign In to add comment