Nextcloud podman behind caddy reverse proxy configure correctly

I never managed to get it working properly with the Apache image , show I used the fpm image instead, it all works perfectly now, but thanks for the help.

As I understand it now it should have been an array instead of a string in the trusted proxies section.