Templates / Generate and deploy nginx configs with SSH, web forms and Cloudflare

Generate and deploy nginx configs with SSH, web forms and Cloudflare

Ready for 3.0

by Wetomate DevOps ✓ · 0 views · created 2026-08-16 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 nodes and runs when an HTTP GET request hits its webhook URL. It uses only n8n's built-in nodes.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Respond to Webhook: sends the response back to the webhook caller
  2. Validate Routes (Code): runs custom JavaScript code
  3. Is Input Valid? (If): checks a condition and branches into true / false
  4. Generate nginx Config (Code): runs custom JavaScript code
  5. Respond Error (Respond to Webhook): sends the response back to the webhook caller
  6. Should Create DNS Record? (If): checks a condition and branches into true / false
  7. Get Cloudflare Zone ID (HTTP Request): calls an HTTP API
  8. Prepare Machine (SSH): uses SSH
  9. Create Cloudflare DNS Record (HTTP Request): calls an HTTP API (POST)
  10. Respond Failure (Respond to Webhook): sends the response back to the webhook caller

…plus 2 more steps. See the full node list below.

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick overview This workflow serves a protected web form that collects domain and route settings, generates an nginx server configuration, optionally creates a Cloudflare DNS A record, and then connects over SSH to install prerequisites, deploy the config,…

Excerpt from Wetomate DevOps's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.