The Issue of the Day Before

架設分散式的正向代理

下載 Caddy Server 和 HAProxy → 設定 Caddy Server 為 Forward Proxy Server → 設定 HAProxy 為 Reverse Proxy Server 並指向 Caddy Server

將 Caddy 安裝成正向代理伺服器

Caddy Server 下載頁,選擇主機的 PLATFORM(e.q. Linux 64-bit), 需要的 PLUGINS(e.q. hook.service, http.forwardproxy, http.ipfilter) 和適當的 LICENSE(e.q. Personal) → 複製 One-step installer script (bash) 內的指令到要安裝的主機上執行該指令 → 設定 Caddy Server 設定檔 → 執行 Caddy Server