From b99b3ce9b64837de980a4a82a48e02476a7e7a8e Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Fri, 27 Dec 2024 16:10:29 +0300 Subject: [PATCH] feat(arachnide): add nixin.zoro.mrflos.pw to proxy --- config/arachnide/proxy-configuration.nix | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) 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