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