From a04175eea732f9ec05cacf994400a68b0d54cd17 Mon Sep 17 00:00:00 2001 From: starry <115192496+sky22333@users.noreply.github.com> Date: Wed, 11 Jun 2025 18:55:48 +0800 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25b8c71..2a070b9 100644 --- a/README.md +++ b/README.md @@ -69,11 +69,22 @@ https://yourdomain.com/https://github.com/user/repo/releases/download/v1.0.0/fil -## ⚙️ 配置 +## ⚙️ 提示 主配置文件位于 `/opt/hubproxy/config.toml`: - +为了IP限流能够正常运行,反向代理传递IP头以caddy为例: +``` +example.com { + reverse_proxy { + to 127.0.0.1:5000 + header_up X-Real-IP {remote} + header_up X-Forwarded-For {remote} + header_up X-Forwarded-Proto {scheme} + header_up CF-Connecting-IP {remote} + } +} +``` ## 🙏 致谢