Hi everybody.
Can I have two URLs pointing to the same Nextcloud folder in production?
Old example URL 1: https://cloud.example.com/nextcloud/
New example URL 2: https://new.example.com/abc/
My idea is this Apache configuration on the Nextcloud server:
Alias /nextcloud "/var/www/nextcloud/"
Alias /abc "/var/www/nextcloud/"
(The subdomains “cloud” and “new” are handled by reverse proxy NGINX.)
If this is not a good idea, would it be bulletproof to use the second alias only? Will Javascript build redirects to /nextcloud/ at login for example?
Thanks.