14 lines
365 B
Nix
14 lines
365 B
Nix
_: {
|
|
services.caddy = {
|
|
enable = true;
|
|
acmeCA = "https://acme-v02.api.letsencrypt.org/directory";
|
|
email = "admin@acomputer.lol";
|
|
|
|
virtualHosts."frp.labs.adtya.xyz" = {
|
|
extraConfig = ''
|
|
reverse_proxy 10.10.10.1:7500
|
|
tls /persist/secrets/caddy/certs/default.crt /persist/secrets/caddy/certs/default.key
|
|
'';
|
|
};
|
|
};
|
|
}
|