Nginx

Practical notes on using Nginx in real projects: web server and reverse proxy configuration, HTTPS and SSL/TLS certificates, redirects, routing, headers and production setups. I collect the problems I encounter in practice, how I diagnose them and the solutions that work.

geoip-analytics-without-storing-ip-addresses-cover.png
Nginx

GeoIP Analytics Without Storing IP Addresses: Nginx + MaxMind + a Trusted Header

I needed country analytics in ICanUp without storing visitor IP addresses or calling an external GeoIP API on every page view. I moved country resolution to the Nginx and MaxMind infrastructure boundary, while Laravel receives only a normalized two-letter country code through a trusted internal header.

6
sectigo-ssl-nginx-dcv-renewal-debugging.png
Nginx

How I Renewed a Sectigo SSL Certificate in Nginx and Debugged DCV

While renewing a Sectigo SSL certificate, DCV stayed in progress even though the verification file returned 200 OK. I traced it to a stale token and different HTTP and HTTPS validation paths in Nginx, then completed the renewal safely.

60