Answer the question
In order to leave comments, you need to log in
How to set session time in nginx for .htpasswd?
nginx server.
The site has a password set for access via .htpasswd.
Commands used:
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.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