Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c1748e7124
|
|||
|
e8cfe4c750
|
|||
|
6ce06f0f84
|
|||
|
eaa2460f63
|
@@ -114,6 +114,8 @@ in
|
|||||||
|
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
22
|
22
|
||||||
|
80
|
||||||
|
443
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
./storage.nix
|
./storage.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.fqdn = "tuxcord.net";
|
|
||||||
time.timeZone = "Canada/Eastern";
|
time.timeZone = "Canada/Eastern";
|
||||||
|
networking.fqdn = "tuxcord.net";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (config.networking) fqdn;
|
fqdn = config.networking.fqdn;
|
||||||
|
|
||||||
mkVhost =
|
mkVhost =
|
||||||
attrs:
|
attrs:
|
||||||
@@ -14,11 +14,6 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
networking.firewall.allowedTCPPorts = [
|
|
||||||
80
|
|
||||||
443
|
|
||||||
];
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user