configuration.nix/hosts/rico0/services/caddy.nix

15 lines
357 B
Nix
Raw Normal View History

2024-07-07 00:25:34 +05:30
_: {
services.caddy = {
enable = true;
acmeCA = "https://acme-v02.api.letsencrypt.org/directory";
email = "admin@acomputer.lol";
2024-07-14 18:19:42 +05:30
2024-07-16 22:39:42 +05:30
virtualHosts."frp.labs.adtya.xyz" = {
2024-07-14 18:19:42 +05:30
extraConfig = ''
reverse_proxy 10.10.10.1:7500
tls /persist/secrets/caddy/certs/frp.crt /persist/secrets/caddy/certs/frp.key
'';
};
2024-07-07 00:25:34 +05:30
};
}