From e7edf29e1132abbde4af4798820b04cef695790c Mon Sep 17 00:00:00 2001 From: sinavir Date: Fri, 18 Oct 2024 12:45:27 +0200 Subject: [PATCH] fix(ollama-proxy): Use ip instead of vpn domain name VPN dns is slow to start so nginx will fail --- machines/compute01/ollama-proxy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/compute01/ollama-proxy.nix b/machines/compute01/ollama-proxy.nix index b06561d..ab43059 100644 --- a/machines/compute01/ollama-proxy.nix +++ b/machines/compute01/ollama-proxy.nix @@ -5,7 +5,7 @@ enableACME = true; forceSSL = true; locations."/" = { - proxyPass = "http://krz01.dgnum:11434"; + proxyPass = "http://100.80.103.206:11434"; basicAuthFile = pkgs.writeText "ollama-htpasswd" '' raito:$y$j9T$UDEHpLtM52hRGK0I4qT6M0$N75AhENLqgtJnTGaPzq51imhjZvuPr.ow81Co1ZTcX2 '';