<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nginx on Ubuntu Tips</title><link>https://ubuntips.com/tags/nginx/</link><description>Recent content in Nginx on Ubuntu Tips</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 23 Nov 2026 14:36:32 +0800</lastBuildDate><atom:link href="https://ubuntips.com/tags/nginx/index.xml" rel="self" type="application/rss+xml"/><item><title>Who compresses a logged-in XenForo page? 12 % of PHP, one fastcgi_param, and a clock that lied</title><link>https://ubuntips.com/posts/who-compresses-a-logged-in-xenforo-page/</link><pubDate>Mon, 23 Nov 2026 14:30:00 +0800</pubDate><guid>https://ubuntips.com/posts/who-compresses-a-logged-in-xenforo-page/</guid><description>&lt;p&gt;Guest pages on my forums are a solved problem. They come out of Angie&amp;rsquo;s FastCGI cache at 125–135k requests per second on the 12-thread test box, and the remaining cost is TLS. The pages that still cost real money are the ones nobody can cache: &lt;strong&gt;logged-in members&lt;/strong&gt;. Every member view runs XenForo end to end, and on this hardware that meant about 260 thread pages per second.&lt;/p&gt;&#10;&lt;p&gt;So this cycle had one question: &lt;strong&gt;what is left on the logged-in path that the server, not the application, can make cheaper?&lt;/strong&gt; My &lt;a href="https://ubuntips.com/posts/one-idempotent-script/"&gt;provisioning script&lt;/a&gt; already does the usual list: OPcache with the tracing JIT, one PHP-FPM worker per CPU thread, persistent database connections, sessions and cache in Valkey, MariaDB&amp;rsquo;s thread pool. Guessing would only re-run old experiments, so I started with a profile.&lt;/p&gt;</description></item><item><title>Deleting my bot filter: 2,400 lines, one proxy hop, and what an Angie map actually costs</title><link>https://ubuntips.com/posts/deleting-anubis-and-trimming-the-angie-maps/</link><pubDate>Mon, 23 Nov 2026 09:10:00 +0800</pubDate><guid>https://ubuntips.com/posts/deleting-anubis-and-trimming-the-angie-maps/</guid><description>&lt;p&gt;For two years my &lt;a href="https://ubuntips.com/posts/one-idempotent-script/"&gt;provisioning script&lt;/a&gt; had an optional extra: &lt;code&gt;--angie anubis=yes&lt;/code&gt; put a &lt;a href="https://anubis.techaro.lol/"&gt;Anubis&lt;/a&gt; proof-of-work filter in front of every site. Angie terminated TLS on &lt;code&gt;:443&lt;/code&gt;, proxied to a Unix socket, Anubis ran its policy, and proxied to a second socket where the real vhosts lived. It worked. I even &lt;a href="https://ubuntips.com/posts/anubis-pass-cookie-in-angie-and-two-silent-slowdowns/"&gt;verified its pass cookies inside Angie with njs&lt;/a&gt; so repeat visitors skipped the Go hop.&lt;/p&gt;&#10;&lt;p&gt;Production now terminates at Cloudflare. That makes the origin-side filter a second, weaker bot filter in series, paying a full request hop for traffic the edge already classified. So this cycle&amp;rsquo;s first job was to delete it, and the second was to answer a smaller question honestly: &lt;strong&gt;what does the Angie request path actually cost now, and can the maps be trimmed further?&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Angie, nginx, FreeNginx, OpenResty, Tengine or Caddy? The cache decides</title><link>https://ubuntips.com/posts/which-web-server-for-a-php-origin/</link><pubDate>Mon, 23 Nov 2026 04:00:00 +0800</pubDate><guid>https://ubuntips.com/posts/which-web-server-for-a-php-origin/</guid><description>&lt;p&gt;Every release of my &lt;a href="https://ubuntips.com/posts/one-idempotent-script/"&gt;provisioning script&lt;/a&gt; runs the same audit on a disposable server: clean Ubuntu 26.04, the full stack, three real applications, then load and security tests, then a restore to the exact package set it started with.&lt;/p&gt;&#10;&lt;p&gt;This cycle&amp;rsquo;s question was different from the usual tuning pass: &lt;strong&gt;which web server should actually sit in front of WordPress, XenForo and Chevereto?&lt;/strong&gt; Angie is the current default. nginx is the obvious alternative, and the forks — FreeNginx, OpenResty, Tengine — all promise the same core with a different story. Caddy and OpenLiteSpeed are the two non-nginx designs people ask about.&lt;/p&gt;</description></item></channel></rss>