{ self, config, lib, pkgs, pastor, ... }: { imports = [ pastor.nixosModules.default ]; services.pastor = {}; security.acme.certs = { "c-v.sh" = { extraDomainNames = [ "*.c-v.sh" ]; }; }; services.nginx = { enable = true; virtualHosts = { "c-v.sh" = (self.lib.nginx.proxyDomain "c-v.sh" "http://127.0.0.1:6881/") // { extraConfig = '' client_max_body_size 4G; ''; }; }; }; }