caddy
caddy copied to clipboard
caddy binds to all interfaces to port not only to specific IP like instructed
The listener although instructed to bind to 127.0.0.200:7777
but binds to enabling HTTP/3 listener {"addr": ":7777"}
. No other IP address on the loopback interface can now use this port.
sudo caddy reverse-proxy --from 127.0.0.200:7777 --to 127.0.0.201:7777 2023/12/30 10:33:04.001 WARN admin admin endpoint disabled 2023/12/30 10:33:04.001 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "proxy"} 2023/12/30 10:33:04.001 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0000af880"} 2023/12/30 10:33:04.005 WARN tls storage cleaning happened too recently; skipping for now {"storage": "FileStorage:/root/.local/share/caddy", "instance": "c87c389d-a044-4f98-abef-c8b75e656f5e", "try_again": "2023/12/31 10:33:04.005", "try_again_in": 86399.999999345} 2023/12/30 10:33:04.005 INFO tls finished cleaning storage units 2023/12/30 10:33:04.016 INFO pki.ca.local root certificate is already trusted by system {"path": "storage:pki/authorities/local/root.crt"} 2023/12/30 10:33:04.016 INFO http enabling HTTP/3 listener {"addr": ":7777"}