Ollama behind Caddy Token = no access #381
-
Hello Ollama for the outside world is behind caddy reverse proxy to add a layer of protection with API Token
Using browser But I can't use it with page assist. Is there a way to do that ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hey, Page Assist supports custom headers. You can pass it as an Authorization key, I guess, or use the key assigned to it. That should work. If you have a username and password, you need to convert them to Base64 (https://www.base64encode.org/) ( Hopefully, it works! |
Beta Was this translation helpful? Give feedback.
-
adding Custom Origin URL Did it :) |
Beta Was this translation helpful? Give feedback.
-
Stop the press it was a glitch (logged with the url on the same session) BUT (thanks to chatGPT) I just need to add Custom Origine URL Then Custome Headers Header Key Authorization It works like a charm |
Beta Was this translation helpful? Give feedback.
Stop the press it was a glitch (logged with the url on the same session)
BUT (thanks to chatGPT)
I just need to
add Custom Origine URL
http://127.0.0.1:11434/
Then Custome Headers
Header Key
Authorization
Header Value
Basic password-in-clear
It works like a charm