2 different URI call to same server & different port irule creation

Hi Team,

I needs to create irule for the below request, please suggest me how to do,

Calls https://i0.test.com should to go real server with http://server01/Base/Arx/

Calls https://i0.test.com/Nas should to go real server with http://server01:8080/Nas

Try something like this.

when HTTP_REQUEST {
      switch [HTTP::uri] {
         "/"{
          HTTP::uri “/Base/Arx/"    
          node 172.x.x.x 80 
            } 
         "/Nas" {
           HTTP::uri "/Nas"    
           node 172.x.x.x 8080 
                }
        }  
    }

Given script not working properly.