MaGe Linux Operations
MaGe Linux Operations
Feb 12, 2025 · Backend Development

Mastering Nginx’s map Directive: Dynamic Variable Mapping and Real-World Use Cases

This article introduces Nginx’s map directive, explains its syntax and variable mapping capabilities, and demonstrates practical applications such as cookie‑based environment routing and secure multi‑domain CORS handling, providing code snippets and detailed explanations for effective server configuration.

CORSCookie Routingmap directive
0 likes · 5 min read
Mastering Nginx’s map Directive: Dynamic Variable Mapping and Real-World Use Cases
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Nov 17, 2021 · Cloud Native

How to Implement Canary Deployments with Ingress‑Nginx Annotations in Kubernetes

This guide shows how to use Ingress‑Nginx annotations to perform canary releases in Kubernetes, covering header‑based, cookie‑based, and weight‑based traffic splitting with complete YAML manifests and curl commands for verification, providing step‑by‑step examples and demonstrating practical testing.

Cookie RoutingHeader RoutingKubernetes
0 likes · 11 min read
How to Implement Canary Deployments with Ingress‑Nginx Annotations in Kubernetes