Thank you very much for your answers!
@Shruti Vijay Dhamale
The principle of irule is to redirect the /cms path to another node port. The nodes servicing the portal operate on port 7090 and the nodes responsible for cms management operate on port 7091. The user enters the VIP address (ports 80/443) and depending on whether it is / or /cms, they are sent to diffrent nodes (pool in f5 or service group in NetScaller ).
It's not a simple redirection from http to https
Best regards,
Piotr