Vagrant.configure("2") do |config| config.vm.box = "vagrant-php83-mysql" config.vm.network "forwarded_port", guest: 80, host: 8080 config.vm.synced_folder "../../games-shop", "/var/www/html" config.vm.provision "shell", inline: <<-SHELL sudo rm /etc/nginx/sites-enabled/default sudo ln -s /var/www/html/deploy/nginx-file /etc/nginx/sites-enabled/default SHELL end