FreeBSD is Fun

Practical recipes for FreeBSD

Category: WWW

  • Geolocating users in nginx

    Geolocating users in nginx

    I know, I know… why not just use Cloudflare? Except, there is cases where you can’t; or not the free version anyway. One such case I experienced recently happened when I needed to fetch the user’s IP for an application which only supports IPv4. Turns out, that the free Cloudflare account doesn’t have the option…

  • Your own NGINX web server

    This is an updated version of a tutorial originally posted in Metin2Dev in 2014. Today I will explain how to set up the nginx webserver in FreeBSD. While Apache has a long tradition, it has been overtaken performance wise by newer, more robust software like nginx, as can be seen in this comparison graph depicting…