Define coded: in networking, Add Resume. for TCP domains
Change-Id: I2f4c66f0439808fae292a7add347a7b4025c25fb
Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/365
Reviewed-by: Skyler Grey <minion@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/common/networking.nix b/modules/common/networking.nix
index 1c8c029..6b82c47 100644
--- a/modules/common/networking.nix
+++ b/modules/common/networking.nix
@@ -7,6 +7,7 @@
"127.0.0.1" = [ "standard" ];
"127.0.0.2" = [ "clicks" ];
"127.0.0.3" = [ "caramels" ];
+ "127.0.0.4" = [ "coded" ];
"127.0.0.255" = [ "generic" ];
# Internal IPv6
diff --git a/modules/common/nginx-routes.nix b/modules/common/nginx-routes.nix
index 589de9c..61f8c20 100644
--- a/modules/common/nginx-routes.nix
+++ b/modules/common/nginx-routes.nix
@@ -10,6 +10,7 @@
(CrossOrigin (File ./nginx/clicks.codes/.well-known/matrix)))
(ReverseProxy "127.0.0.1:3000")
]))
+ (Hosts [ "resume.coded.codes" "resume.thecoded.prof" ] (ReverseProxy "coded:1024"))
(Hosts [ "vaultwarden.clicks.codes" "passwords.clicks.codes" ] (ReverseProxy "generic:1028"))
(Hosts [ "taiga.clicks.codes" "projects.clicks.codes" "tasks.clicks.codes" "issues.clicks.codes" "kanban.clicks.codes" ] (ReverseProxy "generic:1029"))
(Host "login.clicks.codes" (ReverseProxy "127.0.0.1:9083"))