1. 2013

    Restricting access to WordPress login by IP address

    If you have a static IP address, like from [your own VPN](https://www.bjornjohansen.com/setting-up-your-own-pptp-vpn), it is very easy to increase your security tremendously. Simply restrict all logins to that IP address.

  2. 2013

    Setting up your own PPTP VPN

    When it comes to VPNs, there is the choice between PPTP and OpenVPN. PPTP is pretty quick to setup and works out of the box with most (all?) OSes and devices.

  3. 2013

    Get your Ubuntu VPS up and running

    ![Ubuntu](https://www.bjornjohansen.com/content/uploads/2013/04/ubuntu-300x148.png)These are the first steps you should perform on your shiny, brand new VPS to set out on a safe journey on the internets. You don't actually have to understand each of the steps here, but this post is intented for people who have some clue of what they're doing. If there is such a thing as a «VPSes for dummies», it should not be read. VPSes are not intended for dummies.

  4. 2013

    Caching: Varnish or Nginx?

    TL;DR: Varnish lacks support for SSL and SPDY. Nginx handles it just fine, and has very fast cache with either memcache or disk storage (ramdisk). Both can serve stale cache if your backend is down. But Nginx can not write to the memcache storage directly, it has to be done by the application. Also, Nginx can not purge the cache itself, without you compiling your own package.

  5. 2013

    Using Jekyll without YAML front matter

    OK, so I was ready to give Jekyll another shot today. But one thing I’m not that happy with is the need for specifying the YAML front matter on every post. At this point, I’m not really using it for any practical matter.