I’m going to redirect http://blog.rootninja.com to the main site. I don’t know why I didn’t just do this in the first place. I’ve always left it over here on its own. But it’s all on the same Virtual private server. Anyway, this is really easy to do in lighttpd. First, redirect all “www.rootninja.com” traffic to “rootninja.com”, because that other page is useless.
I read in a bunch of places that you can’t use HTTP["scheme"] to redirect http:80 traffic to https:443 without using 2-3 levels of nesting with socket and host. But that’s just not true. The only reason it doesn’t work at first is because http is a subset of https, so be more specific with http$ and it works with just one line in lighttpd.conf.