I want to use Caddy as an HTTP proxy accepting CONNECT requests, but for a certain website (HTTP, so no HTTPS MITM attempts) I want Caddy to serve content by himself if it’s present in a corresponding file path, if this fails serving it by having caddy connect on the requested HTTP server while using a SOCKS5 proxy
Hi, been a bit busy here, in the meantime I’ve took a look at the project you linked, it simply acts as a forward proxy, you can’t even set a local server to fetch resources from or even set per-domain rules, I’d like to use caddy for substituting privoxy on my setup if possible, and the central point of my question was using caddy as a connect server while servicing content from it’s own file set when possible