Nginx authentication

Good afternoon!
Prompt please, adjusted authorization in nginx at connection on 80 port all worked. After I got the ssl certificate and configured it only on port 443, the authorization request was gone, now it does not request, it just gives out the site using the self-signed certificate, but it’s still possible to log on to the site, tell me why the authorization disappeared. I set everything up according to the instructions “Providing access to openHAB”.

Hello,
The configuration of nginx is a rather complex topic and I’m afraid it will not be easy to help but in general, you should follow this guide: http://docs.openhab.org/installation/security.html#nginx-reverse-proxy , especially check out the end result as shown here: http://docs.openhab.org/installation/security.html#nginx-summary

I did everything according to this instruction, but unfortunately nothing works.