I've successfully setup HAProxy in front of an HTTP server which I have no control over.
Is it possible to configure HAProxy to add Simple HTTP Authentication to all sites, bearing in mind I can't configure this on the backend?
Thanks,
Lars
haproxyhttp-authentication
I've successfully setup HAProxy in front of an HTTP server which I have no control over.
Is it possible to configure HAProxy to add Simple HTTP Authentication to all sites, bearing in mind I can't configure this on the backend?
Thanks,
Lars
Best Answer
I had to do this today myself (because IIS 7.5 bizarrely doesn't actually support authenticating against anything but Windows user accounts or AD!)...
Here's all the code
I documented it a bit better here: http://nbevans.wordpress.com/2011/03/03/cultural-learnings-of-ha-proxy-for-make-benefit/