Nginx Resources
A collection of resources covering Nginx, Nginx + Lua, OpenResty and Tengine.
This list is maintained by Frederic Cambus. For updates, follow me on Twitter: @fcambus
Understanding Nginx
- History of Nginx
- Understanding Nginx versioning
- Interview with the creator of Nginx
- Interview with Igor Sysoev, author of Apache's competitor NGINX
- The case for Nginx in front of application servers
- Nginx Optimization: understanding sendfile, tcp_nodelay and tcp_nopush
Architecture
- The Architecture of Open Source Applications (Volume 2): nginx
- Nginx Guts - Shedding light on Nginx internals
- Nginx discovery journey
- Nginx Internals
- Inside NGINX: How We Designed for Performance & Scale
- Thread Pools in NGINX
Configuration
- Beginner's Guide
- Alphabetical index of variables
- Nginx Pitfalls
- Useful Rewrites for Nginx
- Nginx Configuration Primer
- Nginx Primer 2: From Apache to Nginx
- Understanding the Nginx Configuration Inheritance Model
- Nginx HTTP server boilerplate configs
- Nginx Boilerplate - Configuration template and a set of handy must-have snippets
- Cranking Nginx to 11
- Nginx and PHP, match made in heaven
- How to Configure OCSP Stapling in Apache and Nginx
- nginxconfig.io - Online nginx configuration generator
Tutorials
- NGINX and NGINX Plus Admin Guide
- agentzh's Nginx Tutorials (Source)
- Introduction to nginx.conf scripting
- Load Balancing with NGINX and NGINX Plus (Part 2)
- Optimizing Nginx for High Traffic Loads
- Nginx Load Balancing Basics
- NGINX as a WebSockets Proxy
- HTTP Keepalive Connections and Web Performance
- CORS on Nginx
- Using NGINX As An Intelligent Proxy & Web Server
- Serving precompressed content with Nginx and Zopfli
- Nginx on FreeBSD
- Using New Debugging Features to Probe NGINX Internals
- Performing A/B Testing with NGINX and NGINX Plus
Modules development
- Official Development Guide
- Guide to Nginx Module Development
- Advanced Topics In Nginx Module Development
- Developing Nginx Modules
APIs
- Telize - JSON IP and GeoIP REST API (IP Geolocation) built on Nginx and Lua
- GIN - JSON-API framework
- Outbound API rate limits: the nginx way
- Using Nginx to comply with a third-party API's rate limits
- Simple API with Nginx and PostgreSQL
- Kong - Management Layer for Microservices and APIs
Hacks
- Nginx JSON hacks
- Using Environment Variables In Nginx.conf
- JSONP Proxy - Get JSONP from APIs not supporting it natively
- Log rotation directly within Nginx configuration file
- Realtime pixel tracking with Nginx, syslog-ng, and Redis
- Dynamic log formats in Nginx
- Capture and delay unwanted requests
- Nginx: a caching, thumbnailing, reverse proxying image server?
Tips
Nginx + Lua
- Nginx, Lua, and beyond
- Pushing Nginx to its limit with Lua
- Scripting Nginx with Lua
- Augmenting APIs with Nginx and Lua
- Adding OAuth Support to Nginx via Lua
- Scripting libdrizzle with Lua inside Nginx
- Nginx and Lua
- Writing an Nginx authentication module in Lua
- Scaling TextRazor in the Cloud with Nginx and Lua
- LSSO - Lua + Nginx SSO System with an OAuth Backend
- Measuring Nginx Cache Performance using Lua and Redis
OpenResty
-
Lapis - A web framework for Lua or MoonScript powered by OpenResty
-
Developing OpenResty Framework using decoupled libraries (Video)
-
VeryNginx - Nginx distribution which provides WAF, Control Panel, and Dashboards
Tengine
Talks
- NGINX Conference 2017 Videos
- NGINX Conference 2016 Videos
- NGINX Conference 2015 Videos
- NGINX Conference 2014 Videos
- NGINX Conference
- NGINX User Summit 2014 - Lightning talks
License
To the extent possible under law, Frederic Cambus has waived all copyright and related or neighboring rights to this work.