On Fri, Jun 20, 2014 at 10:35:13PM -0400, Predrag Punosevac wrote: > I am seriously reading realyd man pages for the first time in my life. > Namely I am after url suffix redirection. I will try to explain little > bit better. > > I have close to 10 virtual hosts running behind OpenBSD firewall which > has a single public IP address. My boss insists that all virtual hosts > be reachable on the port 80. Can relayd do url suffix redirection? What > I mean is a map: > > www.autonlab.org ----> 10.0.0.0 host > www.autonlab.org/web1 ----> 10.0.0.1 host > www.autonlab.org/web2 ----> 10.0.0.2 host > www.autonlab.org/web3 ----> 10.0.0.3 host > > and so on. Until now I was using nginx as a proxy and port redirection
You can do that with nginx without the need for port redirection if I am not mistaken. Using proxy_pass in your Location. -- Antoine