blob: fd7f71cb97350afc56270603c32fa0b58859fb62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{
pkgs,
config,
...
}: {
config = {
services.caddy = {
enable = true;
# virtualHosts = {
# "http://localhost".extraConfig = ''
# try_files ${pkgs.writeText "index.html" ''
# hello world
# ''} /
# '';
# };
};
networking.firewall.allowedTCPPorts = [80 443];
};
}
|