mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-05 15:36:23 +01:00
remove wordpress
This commit is contained in:
parent
3df21ed5b3
commit
9b72ba2d43
2
justfile
2
justfile
|
@ -6,3 +6,5 @@ build:
|
|||
|
||||
update:
|
||||
nix flake update --commit-lock-file
|
||||
just deploy
|
||||
ssh root@katzen.cafe ./update-arion.sh
|
||||
|
|
|
@ -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 = {
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue