Integrating Lua with Nginx for High-Performance Scripting
Lua Syntax Fundamentals
Nginx and Lua Environment
Objective: Use Nginx combined with Lua to implement a canary release strategy.
Lua Overview
A lightweight, compact, and highly extensible scripting language.
Nginx+Lua Advantages
Combines the efficient concurrency handling of Nginx's event-driven mechanism (epoll) with the agility of Lua, makin ...
Posted on Thu, 07 May 2026 13:09:47 +0000 by jdpatrick
Implementing Mutual TLS Authentication with Nginx
Generating Certificates
To establish mutual authentication, you must first create a Certificate Authority (CA) and sign your server and client certificates. Use the following commands to generate the necessary keys and certifictaes:
# Generate the root CA private key
openssl genrsa -out root_authority.key 4096
# Generate the root CA self-signed ...
Posted on Thu, 07 May 2026 10:53:29 +0000 by jrodd32