Posts tagged "nginx"

Fixing Real Client IP on Nginx When Using Cloudflare + Linode NodeBalancer

Why your logs suddenly show 192.168.255.x — and how to fix it properly When everything sits behind Cloudflare, real-IP handling in Nginx is usually straightforward, trust Cloudflare’s IP ranges, read CF-Connecting-IP, and $remote_addr becomes the actual visitor’s address. That simplicity disappears the moment you introduce a Linode NodeBalancer in front of your server. Suddenly your… Continue reading

Migrating from Nginx to Apache2 on Debian 12, Understanding sites-available and sites-enabled

If you’re used to working with Nginx on Debian 12, you’ve likely mastered the sites-available and sites-enabled directory structure to manage virtual hosts. Interestingly, Apache2 adopts the same concept , just with a few differences in how things are enabled and maintained. This article walks through setting up Apache2 and draws parallels to the Nginx… Continue reading