fix(ollama-proxy): Use ip instead of vpn domain name
All checks were successful
build configuration / build_and_cache_geo01 (push) Successful in 1m15s
build configuration / build_and_cache_geo02 (push) Successful in 1m16s
build configuration / build_and_cache_rescue01 (push) Successful in 1m18s
build configuration / build_and_cache_storage01 (push) Successful in 1m25s
build configuration / build_and_cache_vault01 (push) Successful in 1m33s
build configuration / build_and_cache_compute01 (push) Successful in 1m40s
lint / check (push) Successful in 23s
build configuration / build_and_cache_bridge01 (push) Successful in 1m2s
build configuration / build_and_cache_web03 (push) Successful in 1m10s
build configuration / build_and_cache_web02 (push) Successful in 1m12s
build configuration / build_and_cache_web01 (push) Successful in 1m42s

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
''; '';