deployed fake modo

This commit is contained in:
catvayor 2024-07-09 17:55:50 +02:00
parent e485c1b9db
commit 93aac36244
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
2 changed files with 19 additions and 0 deletions

View file

@ -89,6 +89,10 @@ in
virtualHosts."betamail.katvayor.net" = { virtualHosts."betamail.katvayor.net" = {
enableACME = true; enableACME = true;
addSSL = true; addSSL = true;
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://localhost:8000/";
};
}; };
}; };

View file

@ -52,4 +52,19 @@
]; ];
} }
]; ];
services.postgresql = {
enable = true;
ensureUsers = [
{
name = "moderators";
ensureClauses.superuser = true;
}
];
ensureDatabases = [
"moderation"
];
identMap = ''
map-moderators moderators moderators
'';
};
} }