Serving Nextcloud on public IP sub directory

Hello!

I’ve just installed Nextcloud on Ubuntu 22.04 via snap. It all went smoothly, and it’s running as expected.

I made a self-signed SSL, too.

Right now it’s serving on (example IP) 192.168.22.221, but I’d like for it to be served on 192.168.22.221/nextcloud.

Is that possible? Can I do that on the snap instance? I couldn’t find any clear answers online.

Thanks!

Hello,

Congratulations.

No it can’t be made to work like that.

But if you don’t mind, can you please tell us, why you wish to work like that? What is the purpose?

Thanks.