llama-cpp: add API key auth via --api-key-file
Generate and encrypt a Bearer token for llama-cpp's built-in auth. Remove caddy_auth from the vhost since basic auth blocks Bearer-only clients. Internal sidecars (xmrig-pause, annotations) connect directly to localhost and are unaffected (/slots is public).
This commit is contained in:
BIN
secrets/llama-cpp-api-key.age
Normal file
BIN
secrets/llama-cpp-api-key.age
Normal file
Binary file not shown.
Reference in New Issue
Block a user