1 Virtual that serves both HTTP and SSL

I have a need to have a single vitural with the port set to any. This virtual would use a class and irule to direct traffic base on the port. I do not want to terminate ssl. I need to do ssl pass through with a still being able to use an irule.

The irule processes the request aginst the class and sends the request to the correct pool, except for https.

b virtual test '{

destination 10.1.1.1:any

snat automap

ip protocol tcp

profile http oneconnect tcp

rule test-rule

}’

class test_class {

“443 test-443 source_addr 1”

“80 test-80 none 1”

}