Port changing

From Tech-Wiki
Revision as of 19:49, 20 May 2019 by Fabricio.Lima (Talk | contribs) (Created page with "Category:F5 Networks '''Back to iRules''' when HTTP_REQUEST { if { [TCP::local_port] == 8400 } { HTTP::redirect https://[getfield [HTTP::host...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to iRules

when HTTP_REQUEST {

 if { [TCP::local_port] == 8400 } {
   HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
 }

}