"tests/data/test_texture_map_back_MeshRasterizer.png" did not exist on "15c72be444fab0d1ba6879d097399b12f6a2a8b0"
faq.md 506 Bytes
Newer Older
1
2
3
4
# FAQ

## How can I expose the Ollama server?

5
```bash
6
7
8
9
10
OLLAMA_HOST=0.0.0.0:11435 ollama serve
```

By default, Ollama allows cross origin requests from `127.0.0.1` and `0.0.0.0`. To support more origins, you can use the `OLLAMA_ORIGINS` environment variable:

11
```bash
12
13
14
15
16
OLLAMA_ORIGINS=http://192.168.1.1:*,https://example.com ollama serve
```

## Where are models stored?

Jeffrey Morgan's avatar
Jeffrey Morgan committed
17
18
* macOS: Raw model data is stored under `~/.ollama/models`.
* Linux: Raw model data is stored under `/usr/share/ollama/.ollama/models`