configuration.nix/hosts/rico1/services/apps/proofs.nix

29 lines
642 B
Nix
Raw Normal View History

2024-07-03 17:03:34 +05:30
_: {
services = {
caddy.virtualHosts = {
"proofs.adtya.xyz" = {
extraConfig = ''
redir https://keyoxide.org/hkp/51E4F5AB1B82BE45B4229CC243A5E25AA5A27849
'';
};
};
frp.settings.proxies = [
{
name = "http.proofs.adtya.xyz";
type = "http";
customDomains = [ "proofs.adtya.xyz" ];
localPort = 80;
transport.useCompression = true;
}
{
name = "https.proofs.adtya.xyz";
type = "https";
customDomains = [ "proofs.adtya.xyz" ];
localPort = 443;
transport.useCompression = true;
}
];
};
}