diff --git a/system/machines/server/modules/nginx/default.nix b/system/machines/server/modules/nginx/default.nix index e1487dc..d2aa7f3 100644 --- a/system/machines/server/modules/nginx/default.nix +++ b/system/machines/server/modules/nginx/default.nix @@ -139,8 +139,8 @@ in }; # MCP servers (same-origin with the web UI to avoid CORS) - locations."/mcp/web-search" = { - proxyPass = "http://192.168.0.23:8002"; + locations."= /mcp/web-search" = { + proxyPass = "http://192.168.0.23:8002/mcp"; proxyWebsockets = true; extraConfig = '' include ${config.sops.templates."nginx-mcp-auth.conf".path};