How Can I Direct Reverse Proxy Traffic to Different Network Cards with the Same IP and Port?

Hello,

I have multiple network cards on my device with Caddy Server installed. For my virtualization software, I create a custom network card for each machine. The ip addresses and open web ports of the virtual machines are the same.

I want to use different network cards for the reverse proxy domain I made.

How can I direct each domain to different network cards.

Thank you

I think you’re looking for the bind directive:

I don’t fully understand how I can specify the name of the network card and the IP address of the machine inside.
network card name: testNIC
machine ip address and port: 192.168.1.2:7575