From 70d3c2b6cc0b03f03d3f3d1e934182d11146a9a2 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 09:50:56 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76c1e75..4c4f7f9 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,15 @@ Replace `http://localhost:11434/` with the URL and port of the first server. The ### Authorized users (authorized_users.txt) Create a file named `authorized_users.txt` in the same directory as your script, containing a list of user:key pairs, separated by commas and each on a new line: -```makefile +```text user1,key1 user2,key2 ``` Replace `user1`, `key1`, `user2`, and `key2` with the desired username and API key for each user. +You can also use the `ollama_proxy_add_user` utility to add user and generate a key automatically: +```makefile +ollama_proxy_add_user --users_list [path to the authorized `authorized_users.txt` file] +``` ## Usage ### Starting the server