diff options
Diffstat (limited to 'host/Rory-nginx')
-rw-r--r-- | host/Rory-nginx/services/nginx/localhost/matrix-rory-gay.nix | 7 | ||||
-rwxr-xr-x | host/Rory-nginx/services/ollama.nix | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/host/Rory-nginx/services/nginx/localhost/matrix-rory-gay.nix b/host/Rory-nginx/services/nginx/localhost/matrix-rory-gay.nix index 0ab8e9a..3e48d0f 100644 --- a/host/Rory-nginx/services/nginx/localhost/matrix-rory-gay.nix +++ b/host/Rory-nginx/services/nginx/localhost/matrix-rory-gay.nix @@ -26,9 +26,10 @@ locations."~ ^/_matrix/client/(r0|v3)/sync$" = { proxyPass = "http://generic_workers_upstream$request_uri"; extraConfig = '' - proxy_read_timeout 3600; - proxy_connect_timeout 3600; - proxy_send_timeout 3600; + # We want to wait for 15 minutes here... + proxy_read_timeout 54000; + proxy_connect_timeout 54000; + proxy_send_timeout 54000; ''; }; locations."~ ^/_matrix/client/(api/v1|r0|v3)/events$" = { diff --git a/host/Rory-nginx/services/ollama.nix b/host/Rory-nginx/services/ollama.nix index 8151fe3..8480968 100755 --- a/host/Rory-nginx/services/ollama.nix +++ b/host/Rory-nginx/services/ollama.nix @@ -8,7 +8,7 @@ home = "/data/ollama/home"; models = "/data/ollama/home/models"; environmentVariables = { - OLLAMA_LLM_LIBRARY = "cpu"; + OLLAMA_LLM_LIBRARY = "cpu_avx2"; }; writablePaths = [ "/data/ollama/home" ]; listenAddress = "0.0.0.0:11434"; |