Forum Discussion

puluck's avatar
puluck
Icon for Cirrus rankCirrus
May 15, 2018

Reverse Proxy

Hi All,

 

I have working irule for reverse proxy where i am replacing the host header .Now requirement is to add another few domains here .

 

when RULE_INIT { set static::search "https:\\\\/\\\\/abc.world.com" set static::replace "https:\\/\\/xyz.demo.com" }

 

Now i want to add another domain for which host header remains the same ,which is LMN.de.com and requet goes to backend sever abc.world.com

 

I am trying to find out how can i use list or data group in set static :: replace option

 

regards Puluck

 

  • Hi,

     

    can you share here the whole irule and not only the RULE_INIT event?

     

    Stanislas