mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 06:50:11 -04:00
timeout
This commit is contained in:
parent
cb5b10493f
commit
54b2a18d66
1 changed files with 8 additions and 2 deletions
|
|
@ -151,14 +151,20 @@ in
|
|||
locations."/v1/" = {
|
||||
proxyPass = "http://192.168.0.23:8321/v1/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = apiKeyAuth;
|
||||
extraConfig = apiKeyAuth + ''
|
||||
proxy_read_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
'';
|
||||
};
|
||||
|
||||
# Llama Stack beta API
|
||||
locations."/v1beta/" = {
|
||||
proxyPass = "http://192.168.0.23:8321/v1beta/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = apiKeyAuth;
|
||||
extraConfig = apiKeyAuth + ''
|
||||
proxy_read_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue