chore: move caddy to common settings
This commit is contained in:
parent
e78f1fe200
commit
9b3e4038a9
21 changed files with 69 additions and 6709 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue