configuration.nix/hosts/rico0/services/default.nix

19 lines
360 B
Nix
Raw Normal View History

2024-06-29 17:52:32 +05:30
_: {
imports = [
2024-07-18 22:05:29 +05:30
./apps
2024-06-29 17:52:32 +05:30
./btrfs.nix
./ssh.nix
2024-07-18 22:05:29 +05:30
../../shared/caddy.nix
../../shared/frp.nix
2024-06-29 17:52:32 +05:30
];
2024-07-18 22:05:29 +05:30
services.caddy = {
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
'';
};
};
2024-06-29 17:52:32 +05:30
}