feat(compute01): Enable wordpress

This commit is contained in:
Tom Hubrecht 2023-10-07 15:48:53 +02:00
parent bb677cf509
commit 5b22e8e88d
3 changed files with 24 additions and 1 deletions

View file

@ -11,7 +11,7 @@ lib.extra.mkConfig {
"metis"
"linkal"
"plausible"
# "wordpress"
"wordpress"
];
root = ./.;

View file

@ -0,0 +1,11 @@
{ ... }:
{
imports = [
./lavoixduntexte.nix
];
services.wordpress = {
webserver = "nginx";
};
}

View file

@ -0,0 +1,12 @@
_:
let host = "lavoixduntexte.normalesup.eu";
in {
services.wordpress.sites.${host} = { database.tablePrefix = "wp_lvdt_"; };
services.nginx.virtualHosts.${host} = {
enableACME = true;
forceSSL = true;
};
}