1. Caddy version (caddy version
):
v2.4.6
2. How I run Caddy:
loaded as a service. autostarts.
a. System environment:
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
b. Command:
Paste command here.
c. Service/unit/compose file:
Not using docker
Caddy is running nicely here and everything is working. However, the device it runs on currently has 1 ethernet nic with one address ( 192.168.33.11 ). Soon that will change. We plan to add a 2nd address to the nic eg (192.168.33.33 ) . Some traffic will be routed to it on each address.
Right now it is simple - one address - Caddy listens on multiple ports and responds accordingly . But we are trying to understand how to configure it so Caddy can service 2 different IP addresses and ensure that all response traffic is sent back only via the same ip address… For example where it serves out a webpage on 192.168.33.11:8080 , it would be a different webpage to serve out on 192.168.33.33:8080
Even if anybody can point us to the right section in the documentation about how to configure like this . We have already searched the doc and have not found anything similar. We hope that Caddy can actually do this …