mirror of
https://github.com/ParisNeo/ollama_proxy_server.git
synced 2026-01-12 20:38:00 -05:00
Support for real_ip_header #13
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 @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.