@kopper funny that you mention this because i am currently fighting with dockerized wordpress that runs on php-fpm, to work with caddy that is outside of docker and i have no fucking idea what it wants from me
@jeder the thing about php-fpm is that it's extremely sensitive to filesystem permissions. make sure both the php user and the caddy user (in containers) can access the wordpress files
@jeder however you set it up both caddy and php-fpm need read access to the files (and their containing directories) and all of them need to be at the exact same paths for both (if i recall correctly. it's certainly the easiest way to pull it off)
@jeder i think nextcloud pulled this off by writing all it's files to a volume on start so you can point your webserver there. unsure how the wordpress container you're using does things but i imagine it'd be similar