While trying to configure nginx with the HTTP Auth Basic module, I'm getting the message "unknown directive 'location'" when I attempt to start nginx. This only happens when I have this in my config file: location / { auth_basic "Restricted"; auth_basic_user_file conf/htpasswd; } I've searched several places, and I was surprised that the "unknown directby Brisk - Other discussion
![]() |
![]() |
![]() |
![]() |
|