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

34 lines
677 B
Nix
Raw Normal View History

2024-11-17 14:06:41 +05:30
_: {
2024-07-18 22:06:11 +05:30
imports = [
2024-10-27 18:37:28 +05:30
./prometheus.nix
2024-10-29 00:41:37 +05:30
./redis.nix
2024-10-27 18:36:30 +05:30
./loki
2024-07-18 23:15:30 +05:30
../../../shared/prometheus-exporters.nix
2024-07-21 19:10:11 +05:30
../../../shared/promtail.nix
2024-07-18 22:06:11 +05:30
];
services.caddy = {
virtualHosts = {
"gateway.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 192.168.0.1:80
'';
};
"ap1.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 192.168.1.1:80
'';
};
"ap2.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 192.168.1.2:80
'';
};
"switch.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 192.168.1.3:80
'';
};
};
};
2024-07-03 17:03:34 +05:30
}