[GH-ISSUE #7417] only allow requests from specific hosts #4717

Closed
opened 2026-04-12 15:39:37 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @codeMonkey-shin on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7417

When using ollama, is there an option to only allow requests from specific hosts?

Originally created by @codeMonkey-shin on GitHub (Oct 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7417 When using ollama, is there an option to only allow requests from specific hosts?
GiteaMirror added the feature request label 2026-04-12 15:39:37 -05:00
Author
Owner

@rick-github commented on GitHub (Oct 30, 2024):

Traffic management is typically offloaded to a separate service, either a reverse proxy like nginx or litellm, or firewall rules.

<!-- gh-comment-id:2446295323 --> @rick-github commented on GitHub (Oct 30, 2024): Traffic management is typically offloaded to a separate service, either a reverse proxy like [nginx](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-use-ollama-with-a-proxy-server) or [litellm](https://github.com/BerriAI/litellm?tab=readme-ov-file#litellm-proxy-server-llm-gateway---docs), or firewall rules.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4717