Don't hardcode auth ip

This commit is contained in:
Sandro - 2022-12-05 01:54:49 +01:00
parent 92dc5ba222
commit 870f91a3d1
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, zentralwerk, ... }:
{
c3d2 = {
@ -12,9 +12,9 @@
networking = {
hostName = "gitea";
hosts = {
"2a00:8180:2c00:282::48" = [ "auth.c3d2.de" ];
"172.20.73.72" = [ "auth.c3d2.de" ];
hosts = with zentralwerk.lib.config.site.net.serv; {
${hosts6.up4.auth} = [ "auth.c3d2.de" ];
${hosts4.auth} = [ "auth.c3d2.de" ];
};
firewall.allowedTCPPorts = [ 80 443 2222 ];
};

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, zentralwerk, ... }:
{
c3d2 = {
@ -18,9 +18,9 @@
networking = {
hostName = "hedgedoc";
hosts = {
"2a00:8180:2c00:282::48" = [ "auth.c3d2.de" ];
"172.20.73.72" = [ "auth.c3d2.de" ];
hosts = with zentralwerk.lib.config.site.net.serv; {
${hosts6.up4.auth} = [ "auth.c3d2.de" ];
${hosts4.auth} = [ "auth.c3d2.de" ];
};
firewall.allowedTCPPorts = [ 80 443 ];
};