feat: added other two domains, redirects to main domain

This commit is contained in:
Luka Dekanozishvili 2026-01-31 18:52:36 +01:00
parent 77244a2a6f
commit 3a66e5958a
6 changed files with 37 additions and 118 deletions

View file

@ -19,6 +19,7 @@
iptables
openssl # Generate secure passwords with: $ openssl rand -base64 48
jq
];
}

View file

@ -11,6 +11,7 @@
wal_level = "logical";
max_wal_senders = "5";
max_replication_slots = "5";
listen_addresses = lib.mkForce "127.0.0.1,100.123.91.36";
};
# Allow root to log in as postgres in the DB (for the PowerDNS container)
@ -18,6 +19,10 @@
# postgres root postgres
# '';
authentication = ''
host all replication_user 100.112.93.9/32 scram-sha-256
'';
# authentication = lib.mkForce ''
# # TYPE DATABASE USER ADDRESS AUTH-METHOD [auth-options]
# # host hexname-backend hexname-backend 127.0.0.1/24 scram-sha-256

View file

@ -28,6 +28,16 @@ in
enableACME = true;
globalRedirect = domain;
};
"loves-beer.com" = {
forceSSL = true;
enableACME = true;
globalRedirect = domain;
};
"dickdns.org" = {
forceSSL = true;
enableACME = true;
globalRedirect = domain;
};
};
}