Export redirect configs to any platform
Generate production-ready redirect configurations for CSV, Nginx, and HAProxy — including map-file variants. One source of truth, multiple deploy targets.
1# Generated by Redirections — 2026-02-192server {3 listen 80;4 server_name example.com;56 # Blog migration (priority: 1)7 rewrite ^/old-blog/(.*)$ /blog/$1 permanent;89 # Docs version upgrade (priority: 2)10 rewrite ^/docs/v1/(.*)$ /docs/v2/$1 redirect;11}
How config export generates server configurations
Config export reads your redirect rules and translates them into production-ready configuration syntax for your target server. Each export target has a dedicated code generator that understands the idiomatic syntax, directive ordering, and escaping rules for that specific platform.
For Nginx, the generator produces full rewrite blocks and map-file variants (exact and prefix). For HAProxy, it generates ACL-based configurations and map-file variants. CSV export provides a universal spreadsheet-friendly format. All outputs include comments showing rule metadata.
Exports can be scoped to a single project, a filtered subset of rules, or your entire rule set. The API endpoint allows you to integrate config generation into your workflows, so your server configurations stay synchronized with your redirect rules.
Why teams choose this
Built for performance, reliability, and developer experience.
3 Export Platforms
CSV, Nginx (with map variants), and HAProxy (with map variants).
Copy & Paste Ready
Generated configs are production-ready with proper syntax and comments.
Selective Export
Export all rules, a single project, or a filtered subset.
API Access
Export configs programmatically via the API for automation workflows.
Config export use cases
Multi-server deployment
Generate matching redirect configurations for Nginx and HAProxy simultaneously to keep all serving layers consistent.
Automation
Use the API to generate configs programmatically so your redirect rules stay in sync with your infrastructure.
Disaster recovery
Export server-native configs as backups that work independently of the Redirections API for maximum resilience.
Migration testing
Generate configs for staging environments to test redirect behavior with real server software before going live.
How we compare
See how Redirections compares to alternatives.
One source of truth for all your redirect configurations
Managing redirects across multiple servers typically means maintaining separate configuration files for each — an Nginx config here, an HAProxy config there. Config export eliminates this duplication by letting you manage all rules in one place and generate server-specific configs on demand.
Each generated configuration includes comments with rule metadata — the rule name, creation date, and priority — so the output is human-readable and debuggable. Syntax validation runs before output, ensuring the generated config will parse correctly when loaded by the target server.
The selective export feature is particularly useful for agencies and teams managing multiple projects. You can export rules for a single domain or project, share the config with a client, and keep other projects private. The API allows programmatic export for integration with your deployment workflows.
Related Articles
Migrating Nginx Redirects to HAProxy: Preventing Loops and Latency Issues
Manage complex redirects using Lookup APIs and map files to ensure SEO stability and low latency.
Migrating Redirect Management from Nginx Ingress to HAProxy
Migrating Kubernetes redirect logic to HAProxy for SEO reliability ahead of Nginx Ingress EOL.
Navigating Ingress Migrations: Optimizing Edge Redirects for SEO
Transitioning high-volume redirect management from NGINX to HAProxy and Gateway API.
Related features
Explore more capabilities that work great together.
One source of truth, many targets
Manage rules in Redirections and export to any server config format. Start free.
No credit card required · Free tier available