- Git: https://git-scm.com/
- Vagrant:https://www.vagrantup.com/
- Oracle VM VirtualBox manager: https://www.virtualbox.org/
- Clone project
$ git clone https://github.com/kobiShenkar/vagrant-ubuntu-nginx.git- Enter the vagrant-ubuntu-nginx folder
$ cd vagrant-ubuntu-nginx- Run Vagrantfile
$ vagrant up- Enter the served website by nginx
host machine: localhost:8080
guest vm: $ curl localhost- Make ssl certificate
$ sudo mkdir /etc/nginx/ssl
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/private.key -out /etc/nginx/ssl/public.pem- copy config file
$ vim /etc/nginx/conf.d
$ copy here default.conf