Using Vagrant to Deploy an Ubuntu Server running NGINX

Published on September 8, 2015 under Automation · Tagged Vagrant, Ubuntu and Nginx · Read in about 1 min (119 words)

So as I was getting around to trying to get a host platform setup for a Jekyll blog I was looking at an alternative to GitHub Pages. I decided I would run it on Ubuntu Server using NGINX as the web platform.

Here is a quick vagrant runbook that will quickly get a linux server deployed and install NGINX to host your website.

The code can be found here.

The file runs the following commands to install NGINX. You can add commands to your file to automatically create your configuration and sites to publish automatically. By default this will just bring up the default nginx site.

sudo apt-get install nginx -y
sudo service nginx start
update-rc.d nginx defaults
Share this post
comments powered by Disqus