Hi there, I have a couple of initial questions for the group which I'm
hoping someone can help me with so I can start off in the right direction?
I have a number of IoT devices with web interfaces running non
privileged port number that I want to try and consolidate into an easy
to consume manner and I want to know if what I want to do is possible
using pound? I already have pound accepting connections inbound and
mapping to back end HTTP servers however only with mappings like
https://host1.sample.com=>1.2.3.4:1880,
https://host2.sample.com=>5.6.7.8:8080 etc..
What I would ideally like to be able to achieve is to map to URLs such
as https://www.sample.com/host1 => http://1.2.3.4:8080,
https://www.sample.com/host2 => http://5.6.7.8:1819 so that the URL is
mapped rather than individual DNS host entries.
I have seen examples like from the man page below but haven't been able
to figure out what is required to work within my requirements (or indeed
if what I'm aiming to do is actually possible with pound)?
/ # Virtual host www.myserver.com//
// Service//
// URL ".*sessid=.*"//
// HeadRequire "Host:.*www.myserver.com.*"//
// BackEnd//
// Address 192.168.0.11//
// Port 80//
// End//
// Session//
// Type URL//
// ID "sessid"//
// TTL 120//
// End/
Does anyone have any advice or point to some config examples? Any advice
kindly received :)
TIA,
Byron