Files
nixos/hosts/web-arm/sites/lena-schilling.at.nix
2025-01-26 10:55:38 +01:00

27 lines
685 B
Nix

{ pkgs, lib, config, ... }:
{
services.typo3.instances."lena-schilling.at" = {
acmeRoot = "/var/lib/acme/acme-challenge";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK1l7DmXwheeQT6F7rf1IgUnHyOaz/NIt4BFyEIwtvOX"
];
phpPackage = pkgs.php83;
};
services.nginx.virtualHosts."www.lena-schilling.at" = {
enableACME = true;
forceSSL = true;
acmeRoot = "/var/lib/acme/acme-challenge";
locations."/" = {
return = "301 https://lena-schilling.at$request_uri";
};
serverAliases = [
"lena-schilling.com"
"lena-schilling.eu"
"lenaschilling.at"
"lenaschilling.com"
"lenaschilling.eu"
];
};
}