n8n-docs/docs/hosting/server-setups/caddy.md
2022-04-13 09:56:05 +01:00

439 B

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:
n8n.example.com {
    reverse_proxy localhost:5678 {
      flush_interval 10
    }
}
  1. The .env should be adapted as follows:
DOMAIN_NAME=example.com
SUBDOMAIN=n8n
  1. To start your server:
$ caddy start