Invoiceninja behind caddy?

Has anyone self hosting setup caddy to proxy to invoiceninja, i’m NOT using docker. That would probably be easier but i’m not switching it over. Just curious what the caddy entry looks like. Some apps i just have

reverse_proxy x.x.x.x:443

Others require more directives so it works properly. Trying to figure out what invoiceninja might need in the caddy file, i’ve already added the trust_proxies IP


Sorry, I don’t have experience with Caddy.

I found this post which includes a caddy file which may help.