Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4740

Problem with http_auth HAproxy 2.0

$
0
0

Hey,
i have a problem with basic auth at my haproxy server.
i followed several todos but none of them are working.

I created a userlist:

userlist trusted_users
user user1 insecure-password password1
user user2 insecure-password password2

and i tried the following in the frontend:

http-request auth unless { http_auth(trusted_users) }

or that:

acl auth_ok http_auth(trusted_users)
http-request auth unless auth_ok

On both variants i got a HTTP-401 error.
Any hint why this is not working?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>