[GH-ISSUE #5644] HELP I am trying to configure remote ollama api in Brave Browser Nightly, but Brave setting only allow https access but ollama api in remote server is in http://localhost:11434/v1/chat/completions. how can i configure with https for o… #65557

Closed
opened 2026-05-03 21:41:29 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @buts101 on GitHub (Jul 12, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5644

should i use nginx reverse proxy for redirection? looking for easy method in built in ollama

Originally created by @buts101 on GitHub (Jul 12, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5644 should i use nginx reverse proxy for redirection? looking for easy method in built in ollama
GiteaMirror added the question label 2026-05-03 21:41:29 -05:00
Author
Owner

@rick-github commented on GitHub (Jul 12, 2024):

ollama doesn't support SSL, using a reverse proxy is the easiest long term solution.

For a short term solution, if you can ssh to the remote server, you can forward port 11434 from your local machine to the remote machine:

ssh -L 11434:127.0.0.1:11434 my.remote.server
<!-- gh-comment-id:2225290029 --> @rick-github commented on GitHub (Jul 12, 2024): ollama doesn't support SSL, using a reverse proxy is the easiest long term solution. For a short term solution, if you can `ssh` to the remote server, you can forward port 11434 from your local machine to the remote machine: ``` ssh -L 11434:127.0.0.1:11434 my.remote.server ```
Author
Owner

@lotusorrose commented on GitHub (Jul 30, 2024):

reverse proxy probably is the way to go

<!-- gh-comment-id:2257287854 --> @lotusorrose commented on GitHub (Jul 30, 2024): reverse proxy probably is the way to go
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65557