I have released verion 2 of my n8n_nginx auto installer!

After a lot of great feedback, I’ve pushed a major update to my n8n_nginx installer—a fully automated setup script for deploying a complete n8n stack. It now runs on Linux, macOS, and Windows, and handles every part of the installation for you:

  • Installs Docker, Docker Compose, n8n, nginx, PostgreSQL (with pgvector), and optionally the Portainer Agent

  • Sets up Let’s Encrypt SSL using a certbot container with DNS-01 challenges (supports Cloudflare, Route53, Google DNS, DigitalOcean)

  • Requires zero manual config editing—just answer the setup prompts

  • Verifies DNS records, IP alignment, and your Docker environment (including auto-installing Docker if missing)

  • Detects LXC environments and provides tailored guidance for Docker inside LXC on Proxmox

  • Automatically retrieves and renews TLS certificates

  • Health-checks all services after installation and generates a clear summary report

A few people asked why I don’t simply terminate SSL at Cloudflare. In our environment, we run internal networks and want to avoid hairpinning traffic back through Cloudflare from inside the office. Using a proper SSL cert on the host avoids CORS issues and keeps everything local. This setup also works perfectly with Cloudflare Tunnels, which we use to securely expose our n8n webhooks.

Repo link:
https://github.com/rjsears/n8n_nginx

2 Likes