← Back
Openresty-Edge

Multi-Provider DNS Redundancy: Stay Online When a DNS Provider Fails, Geo-Routing Intact

  • Why multi-provider DNS often means giving up intelligent routing
  • How OpenResty Edge adds DNS redundancy: primary for intelligent routing, secondary providers as fallback
  • Which zones suit this multi-provider DNS setup
  • Frequently asked questions
  • Why multi-provider DNS often means giving up intelligent routing
  • How OpenResty Edge adds DNS redundancy: primary for intelligent routing, secondary providers as fallback
  • Which zones suit this multi-provider DNS setup
  • Frequently asked questions

CDN for Live Streaming: Surviving Peak Events Without Peak-Event Bills

  • Why live streams crash at peak: running day-to-day doesn’t mean surviving the peak
  • How a private CDN turns peak stability from probability into certainty
  • Live streaming CDN cost comparison: surviving the peak isn’t paying for the peak
  • The real cost of a private CDN: not the same as building from scratch
  • Beyond delivery: what a live streaming scenario needs from the same gateway layer
  • FAQ
  • Why live streams crash at peak: running day-to-day doesn’t mean surviving the peak
  • How a private CDN turns peak stability from probability into certainty
  • Live streaming CDN cost comparison: surviving the peak isn’t paying for the peak
  • The real cost of a private CDN: not the same as building from scratch
  • Beyond delivery: what a live streaming scenario needs from the same gateway layer
  • FAQ

Building a Self-Hosted Live Streaming CDN for HLS with OpenResty Edge

  • Why live HLS breaks a naive caching setup
  • Building it on OpenResty Edge: two page rules with opposite TTLs
  • The most critical step: the Use stale proxy cache action
  • A shield tier with gateway partitions: collapsing to one fetch network-wide
  • Verifying the configuration and load testing
  • FAQ
  • Why live HLS breaks a naive caching setup
  • Building it on OpenResty Edge: two page rules with opposite TTLs
  • The most critical step: the Use stale proxy cache action
  • A shield tier with gateway partitions: collapsing to one fetch network-wide
  • Verifying the configuration and load testing
  • FAQ

Do You Need a Service Mesh? When a Centralized Gateway Is Enough

  • Do you need a service mesh? When a centralized gateway is the better fit
  • Four pain points of ungoverned east-west traffic
  • Service Mesh vs. centralized gateway: engineering trade-offs
  • Full lifecycle walkthrough: permissions → canary → rollback
  • Three-stage rollout path, real-world results, and FAQ
  • Do you need a service mesh? When a centralized gateway is the better fit
  • Four pain points of ungoverned east-west traffic
  • Service Mesh vs. centralized gateway: engineering trade-offs
  • Full lifecycle walkthrough: permissions → canary → rollback
  • Three-stage rollout path, real-world results, and FAQ

OpenResty Edge Version 26.6.8 Now Available

  • Core Highlights
  • Enhanced Features & Increased Flexibility
  • Improved Usability & Observability
  • Key Fixes and Stability Enhancements
  • How to Upgrade?
  • Core Highlights
  • Enhanced Features & Increased Flexibility
  • Improved Usability & Observability
  • Key Fixes and Stability Enhancements
  • How to Upgrade?

OpenResty Edge Database Backup and Failover: Why Replication Is Not a Backup

  • First line of defense: scheduled database backups and off-host sync
  • Second line of defense: does streaming replication protect against accidental deletion?
  • Third line of defense: automatic database failover cluster
  • Backup vs. replication vs. failover: which do you need?
  • Frequently asked questions
  • First line of defense: scheduled database backups and off-host sync
  • Second line of defense: does streaming replication protect against accidental deletion?
  • Third line of defense: automatic database failover cluster
  • Backup vs. replication vs. failover: which do you need?
  • Frequently asked questions

Kubernetes Gateway Lifecycle Management: Auto-Approve Nodes & Unify Multi-Cluster Control with OpenResty Edge

  • Why traditional gateway management breaks in Kubernetes
  • How to automate Kubernetes gateway node onboarding and approval
  • Managing multiple Kubernetes clusters from a single control plane
  • Two-tier upstreams: mapping Kubernetes upstream ownership to teams
  • Summary: choosing a gateway for Kubernetes
  • Why traditional gateway management breaks in Kubernetes
  • How to automate Kubernetes gateway node onboarding and approval
  • Managing multiple Kubernetes clusters from a single control plane
  • Two-tier upstreams: mapping Kubernetes upstream ownership to teams
  • Summary: choosing a gateway for Kubernetes

OpenResty Edge Configuration as Code: GitOps-Driven Gateway Management with `edge2yaml`

  • What Is edge2yaml?
  • When to Use edge2yaml: GitOps, Multi-Environment Sync, and Batch Editing
  • edge2yaml vs. OpenResty Edge Admin’s Native Configuration Management
  • Frequently Asked Questions
  • What Is edge2yaml?
  • When to Use edge2yaml: GitOps, Multi-Environment Sync, and Batch Editing
  • edge2yaml vs. OpenResty Edge Admin’s Native Configuration Management
  • Frequently Asked Questions

End-to-End Client Real IP Passthrough in OpenResty Edge

  • Use Cases and Topology
  • IP Passthrough Methods Overview
  • OpenResty Edge Configuration
  • Key Variables
  • Page Rules
  • Verification
  • Use Cases and Topology
  • IP Passthrough Methods Overview
  • OpenResty Edge Configuration
  • Key Variables
  • Page Rules
  • Verification

OpenResty Edge: Private CDN, Universal Gateway & WAF in One Platform

  • What Is OpenResty Edge? Architecture Overview
  • OpenResty Edge vs. Traditional Stack: 4 Problems Solved
  • Universal Gateway & Load Balancing: Dynamic Routing for Microservices
  • Real-World Case Studies: OTA, News, and SaaS Deployments
  • What Is OpenResty Edge? Architecture Overview
  • OpenResty Edge vs. Traditional Stack: 4 Problems Solved
  • Universal Gateway & Load Balancing: Dynamic Routing for Microservices
  • Real-World Case Studies: OTA, News, and SaaS Deployments

WAF Benchmark: OpenResty Edge 3.7–10x Faster than ModSecurity (208 Rules)

  • The Benchmark: 208 WAF Rules on One CPU Core
  • Why Rule Count Doesn’t Have to Hurt WAF Performance
  • How to Implement a WAF at the Edge: Four Steps
  • FAQ: WAF performance
  • The Benchmark: 208 WAF Rules on One CPU Core
  • Why Rule Count Doesn’t Have to Hurt WAF Performance
  • How to Implement a WAF at the Edge: Four Steps
  • FAQ: WAF performance

OpenResty Edge Webhook: Event-Driven Gateway Notifications That Replace Polling

  • What an OpenResty Edge Webhook Delivers: From Data Deluge to Critical Signals
  • Why OpenResty Edge Webhook Notifications Are Efficient and Secure
  • Building a Less is More Event-Driven Operations Ecosystem
  • What an OpenResty Edge Webhook Delivers: From Data Deluge to Critical Signals
  • Why OpenResty Edge Webhook Notifications Are Efficient and Secure
  • Building a Less is More Event-Driven Operations Ecosystem

Open Source OpenResty vs. OpenResty Edge: Key Differences

  • Open Source vs. OpenResty Edge at a Glance
  • When Open Source Hits Its Limits: 6 Real Scenarios
  • Choosing the Right Path for Your Infrastructure
  • Open Source vs. OpenResty Edge at a Glance
  • When Open Source Hits Its Limits: 6 Real Scenarios
  • Choosing the Right Path for Your Infrastructure

Private CDN Solution: Enterprise Edge Architecture | OpenResty Edge

  • The Breaking Point: When Public CDNs Fail the Enterprise
  • The CDN Landscape: Public CDN vs. DIY Open Source vs. Commercial Private CDN
  • From OpEx to CapEx: The Business Case for a Private CDN
  • Why OpenResty Edge? Evaluating an Enterprise Private CDN Platform
  • The Edge Is Your Competitive Advantage — Not a Commodity
  • Frequently Asked Questions
  • The Breaking Point: When Public CDNs Fail the Enterprise
  • The CDN Landscape: Public CDN vs. DIY Open Source vs. Commercial Private CDN
  • From OpEx to CapEx: The Business Case for a Private CDN
  • Why OpenResty Edge? Evaluating an Enterprise Private CDN Platform
  • The Edge Is Your Competitive Advantage — Not a Commodity
  • Frequently Asked Questions

OpenResty Edge Version 25.9.17 Now Available

  • Core Highlights
  • Enhanced Features & Increased Flexibility
  • Improved Usability & Observability
  • Key Fixes and Stability Enhancements
  • How to Upgrade?
  • Core Highlights
  • Enhanced Features & Increased Flexibility
  • Improved Usability & Observability
  • Key Fixes and Stability Enhancements
  • How to Upgrade?

Zstd Compression in OpenResty Edge: Faster, Lighter Than Gzip and Brotli

  • The Evolution of Compression Algorithms
  • What is Zstandard (zstd)
  • Why Zstandard is Particularly Well-Suited for OpenResty Edge
  • How to Enable Zstandard (Zstd) Compression in OpenResty Edge
  • Zstd vs Brotli vs Gzip: Which Should You Serve?
  • The Evolution of Compression Algorithms
  • What is Zstandard (zstd)
  • Why Zstandard is Particularly Well-Suited for OpenResty Edge
  • How to Enable Zstandard (Zstd) Compression in OpenResty Edge
  • Zstd vs Brotli vs Gzip: Which Should You Serve?

SSL Certificate Automation with the ACME Protocol in OpenResty Edge

  • What is the ACME protocol?
  • Why you need ACME for automatic certificate management
  • How to set up automatic SSL certificate issuance and renewal in OpenResty Edge
  • What is the ACME protocol?
  • Why you need ACME for automatic certificate management
  • How to set up automatic SSL certificate issuance and renewal in OpenResty Edge

How to Set Up a Self-Hosted CDN: Step-by-Step Guide with OpenResty Edge

  • How OpenResty Edge Works: Edge Node, Admin, and Origin
  • What You’ll Need Before You Start
  • Step 1 — Install OpenResty Edge and Initialize the Cluster
  • Step 2 — Plan and Register Your Edge Nodes
  • Step 3 — Configure DNS and Traffic Routing
  • Step 4 — Set Up Caching Rules for High Hit Rates
  • Step 5 — Configure Edge Security Policies
  • Step 6 — Monitor Your CDN and Set Up Alerting
Photo by Yichun Zhang
  • How OpenResty Edge Works: Edge Node, Admin, and Origin
  • What You’ll Need Before You Start
  • Step 1 — Install OpenResty Edge and Initialize the Cluster
  • Step 2 — Plan and Register Your Edge Nodes
  • Step 3 — Configure DNS and Traffic Routing
  • Step 4 — Set Up Caching Rules for High Hit Rates
  • Step 5 — Configure Edge Security Policies
  • Step 6 — Monitor Your CDN and Set Up Alerting

How to Create OpenResty Edge Lua Extensions for Event-Driven Automation: Auto-Remove Offline Gateway Nodes from DNS

  • What is an OpenResty Edge Lua extension
  • How to create a Lua extension bound to a gateway event
  • How to trigger and verify it by taking a gateway server offline
  • What is OpenResty Edge
Photo by Yichun Zhang
  • What is an OpenResty Edge Lua extension
  • How to create a Lua extension bound to a gateway event
  • How to trigger and verify it by taking a gateway server offline
  • What is OpenResty Edge

Accurately Restore the Real Client IP Address in OpenResty Edge

  • Set “Trusted hosts to set real IP” and “Real IP from” Globally
  • Configure the Application to Output the Client Address
  • Check the Client Address Received on OpenResty Edge
  • What is OpenResty Edge
Photo by Yichun Zhang
  • Set “Trusted hosts to set real IP” and “Real IP from” Globally
  • Configure the Application to Output the Client Address
  • Check the Client Address Received on OpenResty Edge
  • What is OpenResty Edge

Control Access to DNS Applications in OpenResty Edge's Admin Console

  • Check DNS page permissions as a super user
  • Create a user group with only read permission for this DNS application
  • Create a tester account
  • See the DNS applications with permission granted
  • What is OpenResty Edge
  • Check DNS page permissions as a super user
  • Create a user group with only read permission for this DNS application
  • Create a tester account
  • See the DNS applications with permission granted
  • What is OpenResty Edge

How to Create and Call a Lua Module in OpenResty Edge Using Edgelang

  • How to create a Global Lua Module in OpenResty Edge
  • How to call the Lua module from Edgelang in a page rule
  • How to verify the Lua module output with curl
  • What is OpenResty Edge
  • How to create a Global Lua Module in OpenResty Edge
  • How to call the Lua module from Edgelang in a page rule
  • How to verify the Lua module output with curl
  • What is OpenResty Edge

How to Use OpenResty Edge Global Search to Find Request IDs, Upstreams & Apps

  • Search by Request ID and jump to the Request ID Decoder
  • Search for text on the OpenResty Edge interface
  • Search for upstreams by IP address or name
  • Search for applications by name
  • Search for blog posts
  • Search by Request ID and jump to the Request ID Decoder
  • Search for text on the OpenResty Edge interface
  • Search for upstreams by IP address or name
  • Search for applications by name
  • Search for blog posts

How to Add a Custom Response Header in OpenResty Edge (No Reload)

Add a custom response header in the OpenResty Edge console via a page rule—use a static string or a built-in variable as the value, then release it to every gateway cluster with no server reload.
Add a custom response header in the OpenResty Edge console via a page rule—use a static string or a built-in variable as the value, then release it to every gateway cluster with no server reload.

User Management and Access Control in OpenResty Edge’s Web Console

  • Set Up a New Normal User Account
  • Assign a User Group and Role-Based Permissions
  • Configure Access Control for Groups and Applications
  • Test the Results by Logging In as the Normal User
  • Set Up a New Normal User Account
  • Assign a User Group and Role-Based Permissions
  • Configure Access Control for Groups and Applications
  • Test the Results by Logging In as the Normal User

How to Configure an SNI Proxy in OpenResty Edge: Route TLS by SNI Hostname Without Decryption

  • Create an SNI Proxy stream application
  • Create upstreams and SNI Server Name page rules
  • Add an SNI Proxy port to the gateway partition
  • Test the SNI proxy with curl and a browser
  • Create an SNI Proxy stream application
  • Create upstreams and SNI Server Name page rules
  • Add an SNI Proxy port to the gateway partition
  • Test the SNI proxy with curl and a browser

OpenResty Edge Static Files: Serve Assets from the Gateway with No Back-to-Source

  • Upload static files to the Global Static File storage
  • Create a page rule to serve them directly from the gateway
  • Test exact match, directory prefix, and ignored prefix
  • Upload static files to the Global Static File storage
  • Create a page rule to serve them directly from the gateway
  • Test exact match, directory prefix, and ignored prefix

OpenResty Edge TCP Load Balancing: Proxy TCP Services Without Editing Nginx Config

  • Create a TCP (stream) application in OpenResty Edge
  • Add an upstream and page rule for TCP load balancing
  • Test the TCP proxy by connecting to MySQL through an edge node
  • Frequently asked questions
  • Create a TCP (stream) application in OpenResty Edge
  • Add an upstream and page rule for TCP load balancing
  • Test the TCP proxy by connecting to MySQL through an edge node
  • Frequently asked questions

OpenResty Edge Error Logs: View Application, Global & Gateway Server Logs

  • How to view application error logs in OpenResty Edge
  • Filtering error logs by Request ID, gateway, server, and log level
  • The three types of global error logs (Global, Admin Site, Log Server)
  • How to check the error.log file on gateway and Admin servers
  • How to view application error logs in OpenResty Edge
  • Filtering error logs by Request ID, gateway, server, and log level
  • The three types of global error logs (Global, Admin Site, Log Server)
  • How to check the error.log file on gateway and Admin servers

How to Enable Sticky Cookies in OpenResty Edge (Session Affinity)

  • How sticky cookies keep session affinity in OpenResty Edge
  • Enable sticky cookies for an upstream (server-level)
  • Test that every request hits the same backend
  • Disable sticky cookies and return to round robin
  • Test again and watch traffic spread across backends
  • Frequently asked questions
  • How sticky cookies keep session affinity in OpenResty Edge
  • Enable sticky cookies for an upstream (server-level)
  • Test that every request hits the same backend
  • Disable sticky cookies and return to round robin
  • Test again and watch traffic spread across backends
  • Frequently asked questions

How to Manage Kubernetes Upstreams in OpenResty Edge as Pods Scale

  • How to create and use Kubernetes upstream
    • Create Kubernetes cluster
    • Create Kubernetes upstream
    • Create a page rule that uses Kubernetes upstream
    • Test: scale the pods and watch the upstream auto-update
  • How to create and use Kubernetes upstream
    • Create Kubernetes cluster
    • Create Kubernetes upstream
    • Create a page rule that uses Kubernetes upstream
    • Test: scale the pods and watch the upstream auto-update

OpenResty Edge gRPC Proxy: Distributed Reverse Proxy & Load Balancer with TLS Termination

  • Prepare a sample gRPC server and test it with grpcurl
  • Add the gRPC server as an upstream and enable the gRPC proxy in a page rule
  • Terminate TLS at the gateway and verify the gRPC proxy end to end
  • Prepare a sample gRPC server and test it with grpcurl
  • Add the gRPC server as an upstream and enable the gRPC proxy in a page rule
  • Terminate TLS at the gateway and verify the gRPC proxy end to end

OpenResty Edge WAF: Enable, Test, and Block Attacks

  • Enable the WAF for an Application in Log-Only Mode
  • Send a Test Attack and Review the WAF Logs
  • Disable and Re-enable Individual WAF Rules
  • Add a WAF Whitelist to Save CPU Cycles
  • Return 403 on a WAF Hit: Sensitivity and Risk-Score Thresholds
  • Verify the 403 Block in the WAF Logs
  • Create Your Own WAF Rule Set in EdgeLang
  • FAQ: WAF on OpenResty
  • Enable the WAF for an Application in Log-Only Mode
  • Send a Test Attack and Review the WAF Logs
  • Disable and Re-enable Individual WAF Rules
  • Add a WAF Whitelist to Save CPU Cycles
  • Return 403 on a WAF Hit: Sensitivity and Risk-Score Thresholds
  • Verify the 403 Block in the WAF Logs
  • Create Your Own WAF Rule Set in EdgeLang
  • FAQ: WAF on OpenResty
Contact us

Love to hear from you, Get in touch 👋

Message was sent successfully!

Our Team will get back to you within 24 hours.
x