Menu

Test Post

I'm using this blog basically as an excuse to join the modern web era and learn Docker and cloud hosting platforms.

This blog is running on an Azure VM (a very small one) running Ubuntu and the Ghost blog platform, using Docker.

I'm starting with the default configuration provided by Azure, which is pretty nice, and works nearly out of the box. All I had to do was change the server address, because Ghost by default thinks it lives at http://127.0.0.1:2368 :)

I'm using Azure because as a Microsoft employee, I get a bunch of free Azure resources, so I can spin up and tear down virtual machines quite a bit before I have to pay anything.

As a future goal for this project, I want to try and use CoreOS, which sounds like a really interesting thing. It sounds like a Linux distro basically built like a series of Docker containers.

Update:

I realized another thing lacking in the default Ghost install is HTTPS support. It's 2016; HTTPS should be a requirement, even for a silly blog like this.

Simple solution:

wfraser@fraserbloghost:~$ apt-get install nginx

Copy the Codewise.org wildcard SSL certificate and key from my main VPS...

wfraser@fraserbloghost:~$ sudo vim /etc/nginx/sites-enabled/default

Configure NGINX to listen on [::]:443 and forward to 127.0.0.1:80. Delete everything in the file and replace it with: