diff --git a/config/arachnide/proxy-configuration.nix b/config/arachnide/proxy-configuration.nix index 7203e74..6baee29 100644 --- a/config/arachnide/proxy-configuration.nix +++ b/config/arachnide/proxy-configuration.nix @@ -1,7 +1,12 @@ # 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, ... }: +{ + config, + lib, + pkgs, + ... +}: { @@ -17,14 +22,25 @@ }; # 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 = [ { 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`)"; - 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