remove wordpress

This commit is contained in:
Schrottkatze 2024-03-20 16:57:36 +01:00
parent 3df21ed5b3
commit 9b72ba2d43
No known key found for this signature in database
3 changed files with 2 additions and 45 deletions

View file

@ -6,3 +6,5 @@ build:
update:
nix flake update --commit-lock-file
just deploy
ssh root@katzen.cafe ./update-arion.sh

View file

@ -1,38 +0,0 @@
{...}: {
containers."schule-wp" = {
autoStart = true;
privateNetwork = true;
hostAddress = "10.0.4.1";
localAddress = "10.0.4.2";
bindMounts = {
"/var/wp" = {
hostPath = "/schule-wp";
isReadOnly = false;
};
};
config = {
config,
pkgs,
...
}: {
services.wordpress = {
sites."schule" = {
virtualHost = {
hostName = "wp.schule.katzen.cafe";
adminAddr = "schule@schrottkatze.de";
listen = [
{
ip = "10.0.4.2";
port = 80;
ssl = false;
}
];
};
};
};
system.stateVersion = "23.11";
};
};
deployment.keys = {
};
}

View file

@ -208,13 +208,6 @@
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
'';
};
"wp.schule.katzen.cafe" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://10.0.4.2";
};
};
};
};
}