Answer the question
In order to leave comments, you need to log in
How to make friends with Windows WebDAV client, nginx and multi-user access?
There is a server running nginx, which is accessed via webdav. Everything was done according to this manual and worked great until I needed to make access for several users with their own logins and passwords. The most trivial option is to create another location with your own auth_basic_user_file. If you follow the example from the link, then something like this:
location ^~ /Family {
...
auth_basic_user_file /usr/local/etc/nginx/secure/family.htpasswd;
...
location ^~ /AnotherFolder {
...
auth_basic_user_file /usr/local/etc/nginx/secure/anotherfolder.htpasswd;
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question