What is the problem you are having with rclone?
I am not able to get real client / user ip address when using rclone with nginx as reverse proxy.
Run the command 'rclone version' and share the full output of the command.
rclone v1.58.1
- os/version: debian 10.12 (64 bit)
- os/kernel: 4.19.0-8-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
serve webdav
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone serve webdav /home/dav/ --addr :8080 --htpasswd /home/mysuser/.config/rclone/htpasswd --vfs-cache-mode writes --vfs-read-chunk-size 128M --log-file=/var/log/userdav.log --log-l$
A log from the command with the -vv
flag
2022/05/03 16:46:56 INFO : /: 127.0.0.1:45812: Unauthorized request from bvgsdfvds
2022/05/03 16:47:05 INFO : /: [::1]:40198: Unauthorized request from bgfxbvgs
2022/05/03 16:47:16 INFO : /: 127.0.0.1:45816: Unauthorized request from gfewsgftesgetwgt
2022/05/03 16:47:18 INFO : /: [::1]:40202: Unauthorized request from gtrsgts
2022/05/03 16:47:20 INFO : /: 127.0.0.1:45820: Unauthorized request from ghrgrsgtrsgt
I expect real client's IP instead of 127.0.0.1...