my customer has the same application over http and https (ssl terminated on the csm-s). requests to real server are only http.
problematic is response, because application server send sometimes http 302 code (rewrite) to the client. this rewrite is absolute link (http://...).
my question is, if it's possible to distinguish which response is to https request and rewrite Location: to https://.. ?