Welcome
This proxy sits in front of your Ollama instance and gatekeeps access via user accounts and API keys.
Forwarding target: http://127.0.0.1:11434
How it works
- Ask an administrator to create a user account (admins are just regular users with elevated privileges).
- Log in, head to your dashboard, and copy your personal API key.
- Call
/api/*with the same path you would use against Ollama. - Provide your key via the
X-Api-Keyheader.
Every request is relayed to Ollama with headers, query parameters, and streaming responses preserved.
Example cURL
curl -X POST \
http://ollama.skola.ntievent.se/api/generate \
-H "X-Api-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"llama3","prompt":"Hello"}'