Hola a Todes!
I'm proxing the sbbs web server via nginx (as front), I set the
x-real-ip and x-forwarder-from heder to preserve the original client address.
location ^~ /web {
try_files $uri @app;
}
location @app {
rewrite /web(.*) /$1 break;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8088;
proxy_redirect off;
}
the logs, show 127.0.0.1 as remote address in several points,
Can be posibble that Sync honor these headers or any workaround to obtain the real ip?
Sysop: | KrAAB |
---|---|
Location: | Donna, TX |
Users: | 2 |
Nodes: | 20 (0 / 20) |
Uptime: | 93:59:24 |
Calls: | 467 |
Files: | 1,859 |
D/L today: |
2 files (678K bytes) |
Messages: | 41,148 |