CrOS/modules/services/ollama/proxy.nix
TheWanderingCrow 13b1ea31ed go wide open
2025-10-18 22:14:22 -04:00

10 lines
297 B
Nix

{inputs, ...}: {
services.caddy = {
enable = true;
#@block not remote_ip ${inputs.nix-secrets.network.primary.publicIP} private_ranges 72.213.172.231
#abort @block
virtualHosts."chat.wanderingcrow.net".extraConfig = ''
reverse_proxy http://192.168.0.72:3000
'';
};
}