Answer the question
In order to leave comments, you need to log in
HTTP Authorization not working with ssl?
Hello, there was a problem
http authorization does not work after connecting the ssl certificate, it just gives 401 and that's it ..
please tell me what could be the problem?
upd 401 gives back
Answer the question
In order to leave comments, you need to log in
402 Payment Required
Check your server configuration again. You can do this through:
Well, then if there are no problems:
You can also redo the authorization:
1. apt install apache2-utils -y
2. htpasswd -c /etc/nginx/.htpasswd username
3. And add a new location:
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question