I have one https virtual server (443) that forwards on requests to a pool of servers on port 80. There is also a http virtual server (80) that sends requests on to the same pool of servers.
The application behind the https pool currently redirects to http, the developers have set their application to redirect to https if the X-Forwarded-Proto http header is set to = https.
This isn’t the answer you’re looking for…but why not insert a different header and have them redirect to HTTPs based on that? Otherwise…you could simply rewrite the server’s redirect response using an iRule or the “redirect rewrite” section of an HTTP profile…
The HTTP profile should work fine for the header insert as you have it listed (without the single or double quotes). Do you get an error from the GUI or do you just not see the header in requests sent to the pool?