{% extends "admin/base.html" %} {% block title %}Help & Credits{% endblock %} {% block header_title %}Help & Credits{% endblock %} {% block content %}
The main dashboard provides a real-time overview of your proxy server and connected Ollama instances.
Every request to the proxy must include a valid API key. This is the primary security feature, preventing unauthorized access to your models.
When a request is received, the proxy distributes it among all active backend servers in a round-robin fashion. This balances the load and improves availability.
When you request a specific model (e.g., "llama3"), the proxy is intelligent. It first looks up which of your backend servers have that model available and only routes the request to one of them. This ensures your request never fails because it was sent to a server without the right model.
The standard /api/tags endpoint is enhanced. When you call it through the proxy, it contacts all active backend servers, gathers their model lists, and returns a single, de-duplicated list of all unique models available across your entire setup.
curl http://127.0.0.1:8080/api/generate \
-H "Authorization: Bearer op_prefix_secret" \
-H "Content-Type: application/json" \
-d '{
"model": "llama3",
"prompt": "Why is the sky blue?",
"stream": false
}'
Redis is an in-memory database that is extremely fast. This application uses it for two optional but important security features:
The easiest way to run Redis on any platform is with Docker. If you don't use Docker, choose your OS below.
This single command will download and run a Redis container that restarts automatically.
docker run -d --name redis-stack -p 6379:6379 --restart always redis/redis-stack:latest
Redis is not officially supported on Windows, but it runs perfectly under the Windows Subsystem for Linux (WSL).
wsl --installsudo apt update && sudo apt upgrade
sudo apt install redis-server
sudo service redis-server start
brew install redis
brew services start redis
sudo apt-get install redis-server
sudo systemctl enable --now redis-server
Once Redis is running, go to the Settings page in the admin UI and enter your Redis connection details (the defaults are usually fine for a local install). Save the settings, and the proxy will attempt to connect automatically.
This application was developed with passion by the open-source community. It stands on the shoulders of giants and wouldn't be possible without the following incredible projects:
Project built and maintained by ParisNeo with help from AI and cool developers (check the contributors list in the github page).
Visit the project on GitHub to contribute, report issues, or star the repository!