nix-config/hosts/hetzner-multi/nginx.nix
Gabe Venberg 511b8332ed lockfile update and hetzner radicale server.
Hetzner server will eventually have other things on it.
2024-07-27 19:11:57 -05:00

20 lines
326 B
Nix

{
inputs,
config,
pkgs,
lib,
...
}: {
imports = [
../../configs/nixos/nginx.nix
];
services.nginx.virtualHosts."cal.venberg.xyz" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:5232";
};
};
networking.firewall.allowedTCPPorts = [443 80];
}