refactor(firewall): Make services responsible for opening ports
This commit is contained in:
parent
f2ef91672b
commit
86a8df5004
9 changed files with 63 additions and 39 deletions
|
|
@ -8,6 +8,11 @@ let
|
|||
domain = "gitea.${config.services.nginx.domain}";
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
|
||||
services = {
|
||||
forgejo = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue