Skip to content

Hosting with Caddy Server#

Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go.

  1. In your Caddyfile configuration, add:
1
2
3
4
5
n8n.example.com {
    reverse_proxy localhost:5678 {
      flush_interval 10
    }
}
  1. The .env should be adapted as follows:
1
2
DOMAIN_NAME=example.com
SUBDOMAIN=n8n
  1. To start your server:
1
$ caddy start