I've got a number of websites behind a barracuda appliance, on which an SSL certificate is configured. It forwards the requests to IIS as HTTP, without any information about whether the original request from the client was HTTP or HTTPS.
Is there a way to configure barracuda to include a custom HTTP header when it converts from HTTPS to HTTP? Or some other mechanism I might leverage to detect, from website code, whether the original request was HTTPS?
How can you detect SSL offload on server behind a load balancer? discusses doing this for other software, but I can't find a way of doing the same thing with barracuda.