BBS:      TELESC.NET.BR
Assunto:  If VHOSTS and ONE_HTTP_LOG options are enabled, log VHOST instead of H
De:       Fernando Toledo
Data:     Wed, 11 Feb 2026 11:45:13 -0800
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/4281523d6b7b0d41514ac7ff52a999292c9d2d26#note_8265

hi @rswindell any chance to get the original IP from the http client in the logs?
![image](/uploads/5a7e8bbd04557792710f6a48ed43ae60/image.png){width=1185 height=642}

I use nginx as reverse proxy. I add the headers to get the x-real-ip:

```
	location /web/ {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP  $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://127.0.0.1:8088/;
    }
``` 
but I still get the 127.0.0.1 as you can see in the screenshot.. 
It would be good if I had the original IP address because then I could use it for fail2ban.
Is this possible if I change some settings?
--- SBBSecho 3.37-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

-----------------------------------------------------------
[Voltar]