Port changing

From Tech-Wiki
Revision as of 18:50, 20 May 2019 by Fabricio.Lima (Talk | contribs)

(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]
 }
}