nix/host/x86_64-linux/home/nginx/Davis.nix

11 lines
204 B
Nix
Raw Normal View History

2025-01-09 14:35:30 +03:00
{ config, ... }:
let
cfg = config.const.host.nginx;
in
2025-01-09 14:09:03 +03:00
{
"dav.${cfg.domain}" = {
inherit (cfg) sslCertificate sslCertificateKey extraConfig;
locations."/".extraConfig = cfg.allowLocal;
2025-01-09 14:09:03 +03:00
};
}