So I’ve been setting up Nextcloud with the docker image: https://github.com/nextcloud/docker
I’m using an nginx container and I have nextcloud rendering markup from the php on a custom route on my domain ( example.com/nextcloud ) and this works!
I’m most of the way there, except assets (css, js, etc) wont load because my browser is trying to load from the root path of my domain: GET /core/css/guest.css (should really be GET /nextcloud/core/css/guest.css).
I know I could set up a volume in nginx to mirror the nextcloud assets on the root. But I’m really hoping there’s a way to keep the root clean and set up a path that nextcloud will add to the front of asset urls.
Is this possible?