Support for real_ip_header #13

Open
opened 2025-07-08 08:36:43 -04:00 by AtHeartEngineer · 0 comments

Originally created by @Joly0 on 7/30/2024

Not sure, if this is something the proxy can support, but i noticed when running it inside docker, that the ip the requests are comming from, are all showing the same ip (not sure which one, i guess its the docker host ip; Ip of proxy is internal 172.17.0.18 and the requests come from 172.17.0.1)
I have an nginx reverse proxy in front of it and configured it correctly, to forward the real ip header, but the ollama_proxy_server apparentely doesnt recognizes that or doesnt receive it properly. I am not sure. Maybe i am missing something, and there needs to be some additional configuration.

*Originally created by @Joly0 on 7/30/2024* Not sure, if this is something the proxy can support, but i noticed when running it inside docker, that the ip the requests are comming from, are all showing the same ip (not sure which one, i guess its the docker host ip; Ip of proxy is internal 172.17.0.18 and the requests come from 172.17.0.1) I have an nginx reverse proxy in front of it and configured it correctly, to forward the real ip header, but the ollama_proxy_server apparentely doesnt recognizes that or doesnt receive it properly. I am not sure. Maybe i am missing something, and there needs to be some additional configuration.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/ollama_proxy_server#13