Is it possible to conditionally configure Lighttpd based on custom request headers?
This can be done by IP address (and other variables):
$HTTP["remoteip"] == "0.0.0.0" {
}
Is there something similar for request headers, for example:
$HTTP["X-Some-Header"] == "Value" {
}
I don’t think that the documentation and search in Google is being looked through, but maybe someone knows a way.
thank
source
share