Hi,
I would like to setup a reverse proxy that proxies based on the hostname/servername.
I would normally do this with something like Nginx or Apache.
I have looked around in this forum and only seen a couple of questions that where related but non appeared relevant to me scenario.
I have noticed I could install tinyproxy which but it seams to me that it doesn’t do hostname based.
In the tinyproxy documentation I noticed the ReverseBaseURL parameter but it seams to me from the description of it and from the examples that I have managed to find around the can only be one ReverseBaseURL.
Does this mean that I cannot do what I want with tiny proxy or rather that I must have each proxy rule for each host on separate .conf files? - if so how would I go about doing this? do I just add the path to the other config on the main config? or do I need to run something on the command line to add the other configs to the tinyproxy process?
In the case of not being able to use tinyproxy could I use nginx on the router itself? I am concerned if it might be an issue in terms of performance and such.
This is my scenario
DNS CNAME record for
URL1
URL2
URL3
Are pointing to my public IP.
Then
URL1 get proxied to IP1
URL2 get proxied to IP2
URL3 get proxied to IP3
Any advise would be appreciated.
Thanks,
\M