Change application URL


I have once installed owncloud into a subdir called /owncloud. Now I have migrated to nextcloud and wanted to ask how to rename the url path from to

Not sure this actually works (maybe there are some other conf hidding somewhere), but from the command line, you can try to open /etc/nginx/conf.d/ and change the beginning :

location /owncloud {


location /nextcloud {

and reload nginx with service nginx reload.

If that doesn’t work, you should be able to just revert the change.