Update README.md
This commit is contained in:
parent
841765df05
commit
4337a46ab7
|
@ -41,8 +41,8 @@ Replace `http://localhost:11434/` with the URL and port of the first server. The
|
||||||
### Authorized users (authorized_users.txt)
|
### 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:
|
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:
|
||||||
```text
|
```text
|
||||||
user1,key1
|
user1:key1
|
||||||
user2,key2
|
user2:key2
|
||||||
```
|
```
|
||||||
Replace `user1`, `key1`, `user2`, and `key2` with the desired username and API key for each user.
|
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:
|
You can also use the `ollama_proxy_add_user` utility to add user and generate a key automatically:
|
||||||
|
|
Loading…
Reference in New Issue