Hi,

For the backend health polling, I had to use the .request parameter to
specify the basic auth credential necessary to authenticate with the
backend; I'd definitely get a 401 if I just used .url plainly. For example,
using a bogus url,password of course...

.request =
        "GET /foo/i_is_healthy HTTP/1.1"
        "Host: 127.0.0.5"
        "Authorization: Basic
ZmF0Ymxvd2Zpc2g6c29sb25nYW5kdGhhbmtzZm9yYWxsdGhlZmlzaA=="
        "Connection: close";

My question is: Is there a much elegant approach to this? I'd rather
*not*have the base64 encoded string on a(ny) file on the server.
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to