Example html server
HTML server🔗
In working dir with Vagrantfile, create dir html with file index.html
1 2 3 4 5 6 | |
Create provisioning script bootstrap.sh with content
1 2 3 4 5 6 7 8 | |
assuming Debian family OS, installing Apache and sym-linking synced Vagrant directory and Apache content directory to be served.
Edit Vagrantfile to use provisioning script
1 2 3 4 | |
Start up and verify, for example on VM vagrant@vagrant:~$ wget -qO- 127.0.0.1