services.caddy.openFirewall

NixOS option

Whether to enable opening the specified http(s) ports in the firewall. Any port set to null will not be opened. If you use other ports for your virtual hosts, you need to open them manually.

type: boolean
Default
false
Example
true
declared in: nixos/modules/services/web-servers/caddy/default.nixView source on NixOS/nixpkgs →