i thought this would work but for some reason it doesn't.
location /auth {
auth_basic_user_file /etc/nginx/.htpasswd;
auth_basic "Secret";
return 200 'hello';
}
When i specify the return, 200 or 301, it just skips the auth_basic and
processes the return statement.
If i comm
On Sun, Nov 06, 2016 at 06:51:31AM +, Leachovsky, Anna wrote:
Hi there,
> I have nginx reverse proxy on Windows inside internal network. To be able to
> access the redirected URL I need to configure proxy (for example: proxy:8080)
nginx does not do that.
So you would need something else a