Most PHP apps run behind nginx, but many developers only touch a small part of what it can do. In this session, we?ll walk through useful nginx features that anyone can start using, even if you?re not a DevOps specialist.

We?ll cover how nginx interfaces with PHP, how to structure clean and maintainable config, and simple optimizations that can noticeably improve performance.

We?ll also look at helpful features like caching, rate limiting, redirects, and ways to avoid common configuration mistakes. If nginx has ever felt like a mysterious black box, this session will help you understand it clearly and confidently, with examples you can take home and apply right away.

Comments

Please login to leave a comment

A very interesting talk that had a lot of useful information that I did not previously know about Nginx! Now it has me wondering if we should incrementally switch from Apache to Nginx and exactly how much PHP code that would allow us to rip out. I can think of at least two middlewares that could be retired IF Nginx is capable enough and scalable enough. Which, by all reports, it should be.

The one question that remains in my mind is, should we solve these problems in Nginx or in Cloudflare? We are a whitelabeled app, and so we are locked into Cloudflare for their $upport for that $olution. So, do we lean into Cloudflare workers, which are apparently a wrapper around Nginx or at least similar, or do we port our actual app to Nginx?

Very good content, and very informative! Please don't talk so fast, though. It was hard to keep up. :-) Also, some syntax highlighting would help.

Omni Adams at 10:53 on 22 May 2026

I didn't know you could do that with Nginx! Great presentation about how to block Canadians from using your site, among other more useful Nginx things. Only improvement would be to slow down a bit, it felt like you were rushing and talking very quickly.