feat: added other two domains, redirects to main domain
This commit is contained in:
parent
77244a2a6f
commit
3a66e5958a
6 changed files with 37 additions and 118 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
iptables
|
||||
openssl # Generate secure passwords with: $ openssl rand -base64 48
|
||||
jq
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue