stop forwarding the API service outside the network

This commit is contained in:
TheWanderingCrow 2025-11-11 10:44:36 -05:00
parent 0dca40c8e7
commit 436202842c

View file

@ -44,11 +44,11 @@ in
"budget.wanderingcrow.net".extraConfig = ''
reverse_proxy http://10.88.0.12
'';
"api.budget.wanderingcrow.net".extraConfig = ''
@block not remote_ip ${inputs.nix-secrets.network.primary.publicIP} private_ranges
abort @block
reverse_proxy http://10.88.0.13:5007
'';
#"api.budget.wanderingcrow.net".extraConfig = ''
# @block not remote_ip ${inputs.nix-secrets.network.primary.publicIP} private_ranges
# abort @block
# reverse_proxy http://10.88.0.13:5007
#'';
};
};
virtualisation.oci-containers = {