blob: 156e5da750fb862c07a68ad87892cdd0c7ea1134 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ pkgs, config, ... }:
{
config = {
services.caddy = {
enable = true;
virtualHosts."https://tzlil.club".extraConfig = ''
try_files ${pkgs.writeText "index.html" ''
hello world
''} /
'';
};
networking.firewall.allowedTCPPorts = [443];
};
}
|