Welcome! Log In Create A New Profile

Advanced

Re: Basic http auth with proxy pass showing 403/Forbidden

September 16, 2010 12:12AM
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;
}
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
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready