|
@@ -59,7 +59,7 @@ OLLAMA_ORIGINS=http://192.168.1.1:*,https://example.com ollama serve
|
|
On Linux:
|
|
On Linux:
|
|
|
|
|
|
```bash
|
|
```bash
|
|
-echo 'Environment="OLLAMA_ORIGINS=http://129.168.1.1:*,https://example.com"' >>/etc/systemd/system/ollama.service.d/environment.conf
|
|
|
|
|
|
+echo 'Environment="OLLAMA_ORIGINS=http://192.168.1.1:*,https://example.com"' >>/etc/systemd/system/ollama.service.d/environment.conf
|
|
```
|
|
```
|
|
|
|
|
|
Reload `systemd` and restart Ollama:
|
|
Reload `systemd` and restart Ollama:
|