HAProxy community

Basic Auth add text in password prompt


I have a backend auth working just fine. But I want to add some text to the password prompt when it comes up. I believe in an .htaccess file it would be called a AuthName.

Right now the prompt just says Authentication required and on the next line it show the url that was accessed.

I am hoping that I can just add something like" welcome to our site"

Any help is appreciated.


Set the realm:

http-request auth [realm <realm>]