Forum Discussion

Ozmen_Akbulut_1's avatar
Ozmen_Akbulut_1
Icon for Nimbostratus rankNimbostratus
Jan 20, 2015

https to any other port

Hi, We have a virtual server which uses port 80. But we are using the irule below for port redirection.

 

when HTTP_RESPONSE { if {[HTTP::header exists "Location"]}{ set org_location [HTTP::header "Location"] if {$org_location contains ":9080" }{ set http_location [string map { ":9080" "" } [HTTP::header "Location"]] HTTP::header replace Location "$http_location" } } }

 

We want to use ssl for this virtual server. Clients will be accepted from port 443 and port redirection remains same. The queation is how can uptade the irule for https ? Thank you..

 

2 Replies

  • Laudec's avatar
    Laudec
    Icon for Nimbostratus rankNimbostratus

    You could potentially create a virtual server on port 443, and just apply the same irule to it.

     

  • First of all thank you for your response. I did try it. I created a VS on port 443 and apply the same irule but it did not work.