Change link access to nextcloud

NethServer Version: 7.5 finall all upddate
Module: email, nextcloud, webmail.

Hello to all,
I would like to change the access link to nextcloud from
https://ipmyserver/nextcloud to https://ipmyserver/drive

is this done in apache files?

in the past I did this:
in the file nextcloud.conf this line was added: “Alias / drive” / usr / share / nextcloud / "

in the file default-virtualhost.inc file, these lines have been added to redirect http traffic to https;
RewriteRule ^ / drive (/.*)?$ https: //% {HTTP_HOST} / drive $ 1 [L, R = 301]

or?
tips?

thanks

I think you can do it in the way @giacomo posted here:

2 Likes