Don't automatically open firewall for Caddy.
This commit is contained in:
parent
dab0af910b
commit
857e7b6a07
@ -109,6 +109,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
|
||||
services.caddy.virtualHosts."users.thewordnerd.info".extraConfig =
|
||||
''reverse_proxy localhost:17170'';
|
||||
|
||||
|
@ -6,10 +6,6 @@
|
||||
package = pkgs.callPackage ../pkgs/caddy.nix { };
|
||||
email = "nolan@thewordnerd.info";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
age.secrets.tsAuthKey = {
|
||||
file = ../secrets/ts_auth_key.age;
|
||||
owner = config.services.caddy.user;
|
||||
|
Loading…
Reference in New Issue
Block a user