Help troubleshooting hosted ActivityPub redirect issues with self-hosted Docker + Cloudflare setup

Update: solved by switching off Cloudflare to Nginx reverse proxy (without the various funky subdomain tricks I had tried), and updating my nginx.conf to include auth header and cache settings: