"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "7fe47596af40ea900318e6a2a773a00ff3f3a115"
Unverified Commit 3a30bf56 authored by Jeffrey Morgan's avatar Jeffrey Morgan Committed by GitHub
Browse files

Update faq.md

parent a1c0a485
...@@ -118,6 +118,14 @@ Ollama can be accessed using a range of tools for tunneling tools. For example w ...@@ -118,6 +118,14 @@ Ollama can be accessed using a range of tools for tunneling tools. For example w
ngrok http 11434 --host-header="localhost:11434" ngrok http 11434 --host-header="localhost:11434"
``` ```
## How can I use Ollama with Cloudflare Tunnel?
To use Ollama with Cloudflare Tunnel, use the `--url` and `--http-host-header` flags:
```
cloudflared tunnel --url http://localhost:11434 --http-host-header="localhost:11434"
```
## How can I allow additional web origins to access Ollama? ## How can I allow additional web origins to access Ollama?
Ollama allows cross-origin requests from `127.0.0.1` and `0.0.0.0` by default. Additional origins can be configured with `OLLAMA_ORIGINS`. Ollama allows cross-origin requests from `127.0.0.1` and `0.0.0.0` by default. Additional origins can be configured with `OLLAMA_ORIGINS`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment