Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
4c0e29da8f
commit
bb2fe56082
40 changed files with 595 additions and 1144 deletions
36
hosts/panopticon/routes.nix
Normal file
36
hosts/panopticon/routes.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
imports = [
|
||||
./services.nix
|
||||
];
|
||||
services.traefik = {
|
||||
dynamicConfigOptions = {
|
||||
http = {
|
||||
routers = {
|
||||
uptime_kuma_local = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`uptime.gwg313.xyz`)";
|
||||
service = "uptime_kuma_local";
|
||||
tls.certResolver = "le";
|
||||
middlewares = [ "headers" ];
|
||||
};
|
||||
|
||||
grafana_local = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`grafana.gwg313.xyz`)";
|
||||
service = "grafana_local";
|
||||
tls.certResolver = "le";
|
||||
middlewares = [ "headers" ];
|
||||
};
|
||||
|
||||
loki_local = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`loki.gwg313.xyz`)";
|
||||
service = "loki_local";
|
||||
tls.certResolver = "le";
|
||||
middlewares = [ "headers" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue