Don't hardcode auth ip
This commit is contained in:
parent
92dc5ba222
commit
870f91a3d1
|
@ -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 ];
|
||||
};
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue