mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 14:50:12 -04:00
mcp
This commit is contained in:
parent
46adf8e9f0
commit
573f5ec95d
1 changed files with 10 additions and 0 deletions
|
|
@ -158,6 +158,16 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
# MCP servers (namespaced, for llama.cpp web UI + direct access)
|
||||
locations."/mcp/web_search/" = {
|
||||
proxyPass = "http://192.168.0.23:8002/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
proxy_read_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
'';
|
||||
};
|
||||
|
||||
# Llama Stack beta API
|
||||
locations."/stack/v1beta/" = {
|
||||
proxyPass = "http://192.168.0.23:8321/v1beta/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue