feat(arachnide): add nixin.zoro.mrflos.pw to proxy
This commit is contained in:
parent
fe7648ba17
commit
b99b3ce9b6
1 changed files with 20 additions and 4 deletions
|
@ -1,7 +1,12 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -17,14 +22,25 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# proxy for nixin-web on sanji
|
# proxy for nixin-web on sanji
|
||||||
services.traefik.dynamicConfigOptions.http.services."service-nixin-web-mrflos" = {
|
services.traefik.dynamicConfigOptions.http.services."service-nixin-web-sanji-mrflos" = {
|
||||||
loadBalancer.servers = [
|
loadBalancer.servers = [
|
||||||
{ url = "http://192.168.12.5:8081"; }
|
{ url = "http://192.168.12.5:8081"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
services.traefik.dynamicConfigOptions.http.routers."router-nixin-web-mrflos" = {
|
services.traefik.dynamicConfigOptions.http.routers."router-nixin-web-sanji-mrflos" = {
|
||||||
rule = "Host(`nixin.sanji.mrflos.pw`)";
|
rule = "Host(`nixin.sanji.mrflos.pw`)";
|
||||||
service = "service-nixin-web-mrflos";
|
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
|
# proxy for nextcloud on arachnide
|
||||||
|
|
Loading…
Reference in a new issue