Enable HTTPS for All Virtual Hosts on Nginx – For Free

This article shows you how to enable HTTPS for all your virtual hosts on a dedicated Nginx server. At the time of writing, certbot is still a beta software and Let’s Encrypt is at its early release. The method describes here is a cost effective way to enable encryption on your personal server. I don't recommend that you use it on your production server. The softwares may contain bugs and security vulnerabilities, use them at your own discretion.
Continue reading

Resolve Common Errors Related to Docker Beta On Mac OS

by Comments Off on Resolve Common Errors Related to Docker Beta On Mac OS

I am testing Docker beta and have run into a few issues. I am posting them here along with the solutions. It may help someone who is going through the same thing.

Issue 1

com.docker.osx.xhyve.linux failed to start

This can happens if you are running Docker beta applications on multiple user accounts.

Solution

sudo chown $USER /var/tmp/docker.sock

Issue2

Docker is not responding: waiting 0.5s

Solution

  1. Open to Docker beta's UI
  2. Click on "Uninstall / Reset"
  3. Click "Reset to factory defaults"

Issue 3

Can’t start docker beta: Communication with networking components failed

Solution

Issue 4

ERROR: for <container name> rpc error: code = 2 desc = "containerd: container did not start before the specified timeout"

Solution