Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 97fbec56b1 | |||
| 7ff5fb0da2 |
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (config.networking) fqdn;
|
||||
|
||||
@@ -14,6 +14,11 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
@@ -33,9 +38,4 @@ in
|
||||
locations."/" = mkProxy config.services.gitea.settings.server.HTTP_PORT;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user