Using Caddy as reverse proxy

Hi everyone,

I’m currently trying to deploy Seafile as a remplacement for nextcloud. The problem is that I have absolutely no idea what i’m doing.
I’ve setup 2 separate VM : The first one hosts Caddy (reverse -proxy) and the second one for seafile (using the script available at haiwen’s github)
Both vm can ping each other

I have a domain name from google domains, and i’m using cloudflare. That part shouldn’t cause any problems (except maybe for the SSL side of things)

Does anyone what i should do to make caddy and seafile work together ? Thanks in advance for you help.

The caddyfile

mydomain {
        reverse_proxy 192.168.69.252
}