Moved homes and now Nextcloud is broken

I’m assuming you’ve tried all the previous steps?

Ping your hostname? Does it resolve to the right IP?

That’s probably the most important.

Also try turning off the HSTS again inside the caddyfile. I wonder if that’s not causing your issue. Make sure to restart caddy after.

Ping hostname resolved to my WAN IP (after pausing internal DNS).

Removed everything back the way it was working before. No trusted proxies in Caddyfile or Config.php.

I still get an SSL_ERROR_INTERNAL_ERROR_ALERT.

Just clicked refresh again after a three hour wait…works now (with all the back-tracking to where I was before the trusted_proxies stuff).

You should still put back the “trusted_proxies” block both in the caddyfile and config.php if you want proper IP logging.