Alright, go back to 192.168.1.21 and start up Apache again.
In short, your problem is that Apache configured to only serve Nextcloud to people requesting
When Caddy is proxying from
ncloud.skywave.com with the
transparent preset enabled, though, it’s requesting
ncloud.skywave.com from Apache, not
You can either:
1. Tell Apache to listen for
/etc/apache2/sites-available/nextcloud.conf, add a
2. Tell Caddy to request
header_upstream Host 192.168.1.21 to your Proxy directive, OR remove
transparent. This is a bit of a hack and comes with some downsides.