Install a Self-Hosted n8n on CloudPanel

In Cloudflare

  1. Add the A Record in the DNS for the Domain (or subdomain, i.e. n8n) we want to use.

In CloudPanel

  1. Create a Reverse Proxy Site using the domain (or subdomain, i.e.

  2. Install the Cloudflare SSL Origin Certificate

  3. Change the setting Reverse Proxy Url to

In Putty

  1. As the root user, cd /home/jendo/n8n-docker-caddy and follow this guide to install the n8n instance…

To Update n8n:

cd /home/jendo/n8n-docker-caddy

Pull latest version

docker compose pull

Stop and remove older version

docker compose down

Start the container

docker compose up -d