79 lines
2.5 KiB
Nix
79 lines
2.5 KiB
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{
|
||
config,
|
||
lib,
|
||
pkgs,
|
||
...
|
||
}:
|
||
|
||
{
|
||
|
||
# proxy for nixin-web on arachnide
|
||
services.traefik.dynamicConfigOptions.http.services."service-nixin-web-lab12" = {
|
||
loadBalancer.servers = [
|
||
{ url = "http://localhost:8081"; }
|
||
];
|
||
};
|
||
services.traefik.dynamicConfigOptions.http.routers."router-nixin-web-lab12" = {
|
||
rule = "Host(`nixin.lab12.fr`)";
|
||
service = "service-nixin-web-lab12";
|
||
};
|
||
|
||
# proxy for nixin-web on franky
|
||
services.traefik.dynamicConfigOptions.http.services."service-nixin-web-franky-mrflos" = {
|
||
loadBalancer.servers = [
|
||
{ url = "http://192.168.12.9:8081"; }
|
||
];
|
||
};
|
||
services.traefik.dynamicConfigOptions.http.routers."router-nixin-web-franky-mrflos" = {
|
||
rule = "Host(`nixin.franky.mrflos.pw`)";
|
||
service = "service-nixin-web-franky-mrflos";
|
||
};
|
||
|
||
# proxy for nixin-web on sanji
|
||
services.traefik.dynamicConfigOptions.http.services."service-nixin-web-sanji-mrflos" = {
|
||
loadBalancer.servers = [
|
||
{ url = "http://192.168.12.5:8081"; }
|
||
];
|
||
};
|
||
services.traefik.dynamicConfigOptions.http.routers."router-nixin-web-sanji-mrflos" = {
|
||
rule = "Host(`nixin.sanji.mrflos.pw`)";
|
||
service = "service-nixin-web-sanji-mrflos";
|
||
};
|
||
|
||
# proxy for nixin-web on zoro
|
||
services.traefik.dynamicConfigOptions.http.services."service-nixin-web-zoro-mrflos" = {
|
||
loadBalancer.servers = [
|
||
{ url = "http://192.168.12.5:8081"; }
|
||
];
|
||
};
|
||
services.traefik.dynamicConfigOptions.http.routers."router-nixin-web-zoro-mrflos" = {
|
||
rule = "Host(`nixin.zoro.mrflos.pw`)";
|
||
service = "service-nixin-web-zoro-mrflos";
|
||
};
|
||
|
||
# proxy for nextcloud on arachnide
|
||
services.traefik.dynamicConfigOptions.http.services."service-nextcloud-lab12" = {
|
||
loadBalancer.servers = [
|
||
{ url = "http://10.10.2.2:80"; }
|
||
];
|
||
};
|
||
services.traefik.dynamicConfigOptions.http.routers."router-nextcloud-lab12" = {
|
||
rule = "Host(`nuage.lab12.fr`)";
|
||
service = "service-nextcloud-lab12";
|
||
};
|
||
|
||
# proxy for forgejo on arachnide
|
||
services.traefik.dynamicConfigOptions.http.services."service-forgejo-lab12" = {
|
||
loadBalancer.servers = [
|
||
{ url = "http://localhost:8082"; }
|
||
];
|
||
};
|
||
services.traefik.dynamicConfigOptions.http.routers."router-forgejo-lab12" = {
|
||
rule = "Host(`forge.lab12.fr`)";
|
||
service = "service-forgejo-lab12";
|
||
};
|
||
|
||
}
|