My installation is in the root of a Subdomain on my server. I can access it via sub_1.mydomain.net. As a result, i can access WebDAV via https://sub_1.mydomain.net/remote.php/webdav/. Is there a way to access the same WebDAV under https://sub_1.mydomain.net/webdav/ and also https://sub_2mydomain.net/ with the same content, credentials and so on?
Currently i have added a directive like rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect;
in nginx vhost config, with this i could access https://sub_1.mydomain.net/webdav/ but it want redirect to https://sub_1.mydomain.net/remote.php/webdav/. But i wish no redirect, i will use something like a alias.
Does anyone heave some examples?