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

  1. Ask an administrator to create a user account (admins are just regular users with elevated privileges).
  2. Log in, head to your dashboard, and copy your personal API key.
  3. Call /api/* with the same path you would use against Ollama.
  4. Provide your key via the X-Api-Key header.

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"}'