I have multiple domains set on a server.
Each domain is related to a specific server.
For example :
a.example.com > 192.168.1.10
b.example.com > 192.168.1.11
c.example.com > 192.168.1.12
d.example.com > 192.168.1.13
My clients send requests on ports 8080, 8081, 8082 and ETC and I need to proxy pass these requests to their specific server based on the domain.
as far as I know I cannot use server_name in nginx stream block.
how can I achive this ?