mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 06:50:11 -04:00
changed mcp endpoint
This commit is contained in:
parent
35dc868264
commit
1afac021e8
1 changed files with 7 additions and 2 deletions
|
|
@ -137,8 +137,13 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# MCP servers (namespaced, for llama.cpp web UI + direct access)
|
};
|
||||||
locations."/mcp/web_search/" = {
|
|
||||||
|
virtualHosts."mcp.${domain}" = {
|
||||||
|
useACMEHost = domain;
|
||||||
|
forceSSL = true;
|
||||||
|
|
||||||
|
locations."/web_search/" = {
|
||||||
proxyPass = "http://192.168.0.23:8002/";
|
proxyPass = "http://192.168.0.23:8002/";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue