forked from DGNum/infrastructure
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:
parent
c0435e694d
commit
e7edf29e11
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue