fix(ollama-proxy): Use ip instead of vpn domain name

VPN dns is slow to start so nginx will fail
This commit is contained in:
sinavir 2024-10-18 12:45:27 +02:00
parent c0435e694d
commit e7edf29e11

View file

@ -5,7 +5,7 @@
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://krz01.dgnum:11434"; proxyPass = "http://100.80.103.206:11434";
basicAuthFile = pkgs.writeText "ollama-htpasswd" '' basicAuthFile = pkgs.writeText "ollama-htpasswd" ''
raito:$y$j9T$UDEHpLtM52hRGK0I4qT6M0$N75AhENLqgtJnTGaPzq51imhjZvuPr.ow81Co1ZTcX2 raito:$y$j9T$UDEHpLtM52hRGK0I4qT6M0$N75AhENLqgtJnTGaPzq51imhjZvuPr.ow81Co1ZTcX2
''; '';