Cloudflare tunnels seem to not be functioning properly with Flarum for some reason, however, it works when an A record is pointing to the server’s IP address & DNS only set (Haven’t tested with CF proxy on). Basically, the tunnel is going to the first host on NGINX rather than the actual one.
Tunnel config is correct & so is NGINX config I believe, this issue is occurring from what I think is both software creating a conflict with each other somehow, it works DNS only, so the only thing I can think of is that this is an issue with tunnels.
Are curl https://localhost --header "Host: domain1.com" & curl https://localhost --header "Host: domain2.com" returning the correct, different sites that you’d expect?