mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #571] 希望可以支持proxy protocol #338
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xiaowen-king on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/571
#原因#
我在本地网络上部署了Dufs,然后通过frp暴露到公网上,但是因为Dufs不能支持proxy protocol导致了我把服务暴露出去之后Dufs日志里面获取到的访客地址都是127.0.0.1,所以希望可以支持proxy protocol,这样我才能更方便的获取到访问者的真实地址。
@sigoden commented on GitHub (Apr 9, 2025):
see https://github.com/sigoden/dufs?tab=readme-ov-file#log-format
you can use headers like
$http_x_real_ipor$http_x_forwarded_for