-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when compiling caddy #57
Comments
github.com/WeidiDeng/caddy-cloudflare-ip |
信任来自 cloudflare IP 的连接请求中带有的 X-Forwarded-For 头部,默认 caddy 会忽略这个 |
嗯嗯 感谢 |
@imgk |
OK 了 |
已测试无问题。谢谢! |
2.7.2版本编译成功但是无法运行(配置文件没有trojan相关配置) 错误信息如下: 配置文件如下:
} |
一模一样的caddyfile,在v2.6.4下一切正常(编译时带有trojan模块,但配置文件没有trojan相关配置) |
一模一样的caddyfile,在v2.7.1下也一切正常(编译时带有trojan模块,但配置文件没有trojan相关配置) |
caddy-trojan 是同一个嘛? |
直接--with github.com/imgk/caddy-trojan@master编译出来的。没太看懂您的问题 |
刚发布的caddy2.7.3症状一模一样 |
我这儿有相同的问题,临时方案就是在不使用 trojan 的服务器上用 build arg 控制移除该行。 |
Hello,
When I tried to compile caddy today this your plugin, it failed:
xcaddy build --with github.com/mastercactapus/caddy2-proxyprotocol --with github.com/imgk/caddy-trojan --with github.com/WeidiDeng/caddy-cloudflare-ip --with github.com/caddy-dns/cloudflare --output /usr/bin/caddy
Error:
Thanks
The text was updated successfully, but these errors were encountered: