Forum Discussion
Jake_Tan_131739
Nimbostratus
Aug 16, 2013HTTP and HTTPS in one VS
Hi,
Is it possible to do this via Irule.
Client sends to port 80,443 >> Proxy listen on 8080 and forward to LTM on 8080>> LTM VS listen on port 8080 and forward to 80,443
Thanks
Kevin_Stewart
Employee
Aug 16, 2013You can really just boils this down to the following:
when CLIENT_ACCEPTED {
if { [TCP::local_port] == 80 } {
SSL::disable
pool myPool
} elseif { [TCP::local_port] == 443 } {
pool myPool
} else {
discard
}
}
Make sure to apply an SSL profile to the VIP and set the port to * (any).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects