Compare commits

...

6 commits

Author SHA1 Message Date
60e173662b n 2026-04-20 01:27:03 -04:00
20b39d2cd8 - 2026-04-20 01:23:25 -04:00
2805b2aa2d back 2026-04-20 01:21:19 -04:00
89768a9e0b cors 2026-04-20 01:13:36 -04:00
f42ec1f725 removed useless dev module from server 2026-04-20 00:58:57 -04:00
1afac021e8 changed mcp endpoint 2026-04-20 00:52:58 -04:00
3 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,6 @@
neovim.enable = false; neovim.enable = false;
vim.enable = true; vim.enable = true;
tmux.enable = false; tmux.enable = false;
utils.dev.enable = true;
}; };
}; };
} }

View file

@ -78,6 +78,7 @@ in
recommendedGzipSettings = true; recommendedGzipSettings = true;
eventsConfig = "worker_connections 4096;"; eventsConfig = "worker_connections 4096;";
# Catch-all default - friendly error for unknown subdomains # Catch-all default - friendly error for unknown subdomains
virtualHosts."_" = { virtualHosts."_" = {
default = true; default = true;
@ -137,9 +138,9 @@ in
''; '';
}; };
# MCP servers (namespaced, for llama.cpp web UI + direct access) # MCP servers (same-origin with the web UI to avoid CORS)
locations."/mcp/web_search/" = { locations."= /mcp/web-search" = {
proxyPass = "http://192.168.0.23:8002/"; proxyPass = "http://192.168.0.23:8002/mcp";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = '' extraConfig = ''
include ${config.sops.templates."nginx-mcp-auth.conf".path}; include ${config.sops.templates."nginx-mcp-auth.conf".path};

View file

@ -40,7 +40,7 @@
nginx = { nginx = {
enable = true; enable = true;
}; };
sandpack.enable = true; sandpack.enable = false;
forgejo.enable = true; forgejo.enable = true;
frigate.enable = true; frigate.enable = true;
immich.enable = true; immich.enable = true;