I have three virtual hosts on the same IP and I would like to setup
reverse proxy for them. The first one works fine, not sure how to
setup the other two.

The following are my internal servers:

http://marketing.company.tld:30000 ------> 192.168.25.25

http://services.company.tld:28978 ------> 192.168.25.25

http://helpdesk.company.tld:39485 ------> 192.168.25.25

The following is my Pound server (which has public IP and publicly
listed forward DNS entry):

http://pound.company.tld

My pound.cfg:

User "nobody"
Group "nobody"
Control "/var/run/pound/ctl_socket"

# Main listening ports
ListenHTTP
   Address 0.0.0.0
   Port    80
   xHTTP   1
End

Service
              HeadRequire "Host: .*pound.company.tld.*"
               BackEnd
                   Address 192.168.25.25
                   Port 30000
               End
End

Thanks.

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to