Category: Nginx

WordPress tag cleanup with nginx 301 redirects 0

WordPress tag soup cleanup with nginx 301 redirects

Todays solution is: cleaning WordPress tag soup at scale. Over the years this blog collected something like 170 tags. Half of them were one-off typos or “computer-name-changing-constantly” style junk. Nice for me in 2013. Terrible...

HTTP/2 SSL Offloading with Haproxy and Nginx 2

HTTP/2 SSL Offloading with Haproxy and Nginx

Updated August 2026: HAProxy + Nginx HTTP/2 offloading remains relevant. Prefer HAProxy 2.x+ with explicit alpn h2,http/1.1, modern cipher suites, and HTTP/2 on the backend only if your stack actually speaks h2c. Re-validate against your...

Fix Upgrading Nginx 1.10 fails error unknown directive 0

Fix Upgrading Nginx 1.10 fails error unknown directive

Updated August 2026: “Unknown directive” after an Nginx upgrade usually still means a module/package mismatch or a directive that moved. On current Nginx builds, confirm the package set (nginx-full vs lean builds), run nginx -T,...

Running php-fpm with different user group using umask 7

Running php-fpm with different user group using umask

Updated August 2026: Running php-fpm pools under dedicated users/umask is still best practice. The same idea applies to PHP 8.x pools (including 8.3–8.5): one pool per site, correct listen.owner/listen.group, and a real umask in the...