瀏覽代碼

feat: add multi-proxy load-balancing configuration to environment file

Manuel 7 月之前
父節點
當前提交
014e0f65e0
共有 1 個文件被更改,包括 4 次插入 和 0 次删除
  1. 4 0
      install.sh

+ 4 - 0
install.sh

@@ -335,6 +335,10 @@ createEnvFile() {
 VERSION=2.3.2
 SQUID_HOST=127.0.0.1
 SQUID_PORT=3128
+# Multi-proxy load-balancing (optional): comma-separated host:port list.
+# When set, overrides SQUID_HOST/SQUID_PORT for the active-connections page.
+# Example: SQUID_HOSTS="192.168.0.10:3128,192.168.0.11:3128"
+SQUID_HOSTS=
 LOG_FORMAT=DETAILED
 FLASK_DEBUG=True
 DATABASE_TYPE=SQLITE