chore: move caddy to common settings

This commit is contained in:
xinyangli 2025-05-10 00:27:51 +08:00
parent e78f1fe200
commit 9b3e4038a9
No known key found for this signature in database
21 changed files with 69 additions and 6709 deletions

View file

@ -176,11 +176,8 @@ in
reverse_proxy 127.0.0.1:30310
'';
networking.firewall.allowedTCPPorts = [
80
cfg.trojan.port
];
networking.firewall.allowedUDPPorts = [ ] ++ (lib.range 6311 6314);
networking.firewall.allowedTCPPorts = [ cfg.trojan.port ];
networking.firewall.allowedUDPPorts = lib.range 6311 6314;
services.sing-box = {
enable = true;