Opened 9 years ago
Last modified 9 years ago
#781 new task
Documentation not clear on auth_basic_user_file
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | documentation | Version: | 1.9.x |
Keywords: | documentation | Cc: | |
uname -a: | |||
nginx -V: | doesn't matter |
Description
On the page http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html it is not very clear to what auth_basic_user_file is relative to.
Where exactly needs the file htpasswd to be when it is defined like this:
auth_basic_user_file conf/htpasswd;
is it /etc/nginx/conf/htpasswd or something else?
Change History (3)
comment:1 by , 9 years ago
comment:3 by , 9 years ago
Component: | other → documentation |
---|
Note:
See TracTickets
for help on using tickets.
Path is relative to nginx installation path, where nginx resides on OS. Also you can configure absolute path to files.
Examples: