Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Basic http auth with proxy pass showing 403/Forbidden
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
strom
September 16, 2010 12:12AM
Registered: 13 years ago
Posts: 3
Solution was stupid. I checked the error logs in nginx and found out that my relative path was not where I expected it to be.
This works:
location ~ /(admin/.*|test) {
auth_basic "Restricted";
auth_basic_user_file htpasswd;
}
Reply
Quote
RSS
Subject
Author
Posted
Basic http auth with proxy pass showing 403/Forbidden
strom
September 15, 2010 08:17PM
Re: Basic http auth with proxy pass showing 403/Forbidden
strom
September 15, 2010 08:24PM
Re: Basic http auth with proxy pass showing 403/Forbidden
strom
September 16, 2010 12:12AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 257
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018