Forum Discussion

Kandarp_166150's avatar
Kandarp_166150
Icon for Nimbostratus rankNimbostratus
Aug 07, 2014

Converting NGINX proxypass rule to iRule

Hi,

 

I have following nginx rule which I need to convert to F5 rule. I am very new to F5. It would great if someone can help me or give good pointer to some examples.

 

upstream x1{ server server1:8080; server server28080; } location /uri1/uri2/api/ { proxy_pass_header Set-Cookie; proxy_pass http://x1/myuri/api }

 

Thanks in advance

 

Cheers, Kandarp

 

  • With F5 recent version 11.4+ you can use the Rewrite profile. Or you can use the well known and widely used ProxyPass irule: https://devcentral.f5.com/wiki/iRules.ProxyPassV10.ashx